Member
Member
Reema82   2009-02-20, 21:21
#1

Hi, I'm using zenphoto version 1.2.3 with the HighSlide theme. I've searched the forum and haven't been able to find an answer to my question.

My gallery is at http://www.srkfanatic.net/fanart/

I have the Latest Images and Random Images at the bottom. What I'm trying to accomplish is to get the Latest Images to show after I click one of the main albums. For example, if I click on the 'Carol' album, I'd like for the Latest images just from Carol's album to show, not from the whole gallery.

I've tried editing album.php, adding this code:

Latest Images

But my problem comes under $albumfolder=''. Is there a way to specify that I want the Latest Images from the current album that you are in, instead of specifying a certain folder name? So that if someone goes into the 'Reema' folder, they would get the Latest Images from only that album?

Administrator
Administrator
acrylian   2009-02-21, 11:04
#2

Besides you do not use the parameters of printLatestImages correctly, you are on the right track. This should do what you want:
` This will print the latest images of the album on album.php or image.php you are currently in and of all of its subalbums. If you don't want the subalbums change the lasttruetofalse`.

Member
Member
Reema82   2009-02-21, 18:09
#3

Acrylian, thank you so much. It worked.

Member
Member
arun   2009-03-06, 16:48
#4

How to show latest albums in all pages?. help me.

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