Member
Member
senne   24-10-2007, 12:47
#1

Hi,

I'm looking for a function which makes it possible to deactivate thumbnails if there's only one image in that particular album. For example: This is an album with 3 pictures: http://www.benvandenberghe.com/photo.php?album=empty-cages- The thumbnails fit the design. But this is an album with only 1 picture: http://www.benvandenberghe.com/photo.php?album=whiteboy- The thumbnail looks kinda stupid.

Is it possible to implement some code that applies to my wishes? (i'm a php-rookie)

Thanks in advance,
Senne

Member
Member
aitf311   24-10-2007, 14:16
#2

That sounds like a great feature, you should post it to trac: http://www.zenphoto.org/trac/newticket

Administrator
Administrator
acrylian   24-10-2007, 17:01
#3

Senne: You can try this. Locate the image loop on album.php and modify it like this:

`

// Part one of the modification

">

// part two of the modification`

Member
Member
senne   25-10-2007, 12:14
#4

This works great: http://www.benvandenberghe.com/photo.php?album=whiteboy-

Thank you so much acrylian!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.