Member
Member
hamsterbacke82   2008-01-12, 04:37
#1

My problem is that I want to display the first image of an album on the index page one time.. if possible including a link to that album..
I got as far as finding a thread which deals with a similar problem and this code:

` `

The problem is now to display an image thumbnail but not use the "while-next-Album"
function as it should be a unique image...

I hope somebody understands what my problem is and might have a hint as I'm no php expert...

Member
Member
sbillard   2008-01-12, 04:58
#2

You will need to gain a bit of php knowledge. You can find the documentation of all the relevant zenphoto functions on the zenphoto.org 'User Documentation' page.

Member
Member
hamsterbacke82   2008-01-13, 05:14
#3

Thank you, I'm trying to gain php knowledge all the time, just sometimes I get kind of stuck

Administrator
Administrator
acrylian   2008-01-13, 12:02
#4

hamsterbacke82: So you want to show only one unique image of one album on index.php, like on a photoblog? If you could use the nightly build and the printlatestimages function that now can show the latest (=first?) image of an album. See the documentation for more info.

Member
Member
hamsterbacke82   2008-01-14, 05:41
#5

Thank you I will keep on trying

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