Junior Member
Junior Member
ZeK   12-04-2009, 20:12
#1

Hi,
I just discovered ZenPhoto and I'd like to create a custom theme.

I'm trying to list subalbums of albums in index.php.

So far i got :

$siblings = $_zp_current_album->getSubalbums(); foreach ($siblings as $albumname) { album = New Album($_zp_gallery, $albumname); echo "getAlbumLink()."\">".$album->getTitle().""; }
Now i'm trying to add thumbs with a custom width and height but i can't find how.

Can someone help me ?
Is that code the fastest/best one ? (many mysql requests ??)

Thanks.

Member
Member
sbillard   12-04-2009, 21:17
#2

Please review the function descriptions in the user guide for the various zenphoto functions. There is a function for custom album thumbs.

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