Hi,
I am trying to be able to have blank albums so we can just post like a 'blog' entry without any images, or have a guestbook with out any images. The way I set it up is set this at the beginning of index.php and album.php:
<?php if (getNumImages() == 0){ /* Only print if we have images. */
$noimagepost = '1';
} ?>
then when I don't want the image block or other function to appear when viewing an album without images I put right before:
<?php if (!$noimagepost) { ?>
and putting:
<?php $noimagepost = '0'; ?>
right before the endwhile on the index.php page so variable is reset
My issue is with the archive and search, latest photos, and random photos. I am still seeing the zenphoto and media logo images appearing. And even worse, when you click on these logos and go to the image.php view it shows all of my albums as subalbums of those images!!! (because I show album thumbnails on the image.php view). How can I get rid of these for good!?
Any Ideas?