Hi all,
I tried to have a banner a the top of the album.php file and image.php file.
I follow this thread :
http://www.zenphoto.org/support/topic.php?id=2376&replies=20#post-14254I put the code :
`$tags = getTags();
switch ($tags[0]) {
case "france":
$bannerimage = 'france.jpg';
break;
case "perou":
$bannerimage = 'perou.jpg';
break;
echo "

";`
I work in album.php
but i cant have the banner in image.php according to the album tag even when i put this code in image.php :
`$_zp_current_album->getTags();`
Can you help me ?
Thank
Laurent
Comments
No one can help me ?
Regards
`$tags = $_zp_current_album->getTags();
switch ($tags[0] {
(...)`
Acrylian doesn't speak french, english or german ...
Acrylian speak PHP, MySQL, Apache :-)
Thank a lot
Laurent