Member
Member
farhan   2008-01-01, 00:10
#1

Hello,

Is there any way to show latest thumbs from a gallery or it's subgallery on main page ? with the album ?

Like

Album Name
4 Thumbs from that Album ( Random or Latest)

Album Name 2
4 Thumbs from that Album ( Random or Latest)

and so on ?

Thanks

Member
Member
sbillard   2008-01-01, 02:25
#2

You can get a array of subalbum names for any album by using the function $names = $album->getImages(0, 0,'ID'); From this you can select four and create album objects of them. $img1= new Image($album, $names[$n]); Then you can do what you want with the album. The last four would be the latest.

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