![]() |
|
Images loop inside album loop ignoring first album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Images loop inside album loop ignoring first album (/thread-7044.html) |
Images loop inside album loop ignoring first album - MarB - 2010-05-12 Hi, I'm trying to display album with few sample images on album.php. I thought that this should do the job: ` <?php while (next_album()): ?> <?php getBareAlbumTitle();?>"> <?php echo getBareAlbumTitle();?> <p class="grid_4"><?php echo truncate_string(getBareAlbumDesc(),235);?> <?php while (next_image()): ?> <?php printCustomSizedImageMaxSpace('Image',270,180);?> <?php endwhile; ?> <?php endwhile; ?> ` This kind of works. But it ignores first album (displays Album title but no thumbs. Is it bug or is there a problem between monitor and keyboard? Thanks for any suggestions. Images loop inside album loop ignoring first album - MarB - 2010-05-13 Don't know what I did, but it just started to work like a charm. |