Junior Member
Junior Member
ZeK   2009-04-12, 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 "<a>getAlbumLink()."\">".$album->getTitle()."</a>";
}
`
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   2009-04-12, 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.