Member
Member
kurtko   2012-09-11, 10:39
#1
Hi,

I have several subalbums and I need to get the url of the thumb images shown in album.php.

For exameple:

while (next_album):
printAlbumThumbImage ();
getAlbumLinkURL ();
endwhile;

In this example I get the link of the next subalbum but not the url of the thumb image. So I need to go to image.php in the next page.

If do this in album.php nothing happens because the is a subalbum:

while (next_image()):
getImageLinkURL();
endwhile;

It's possible to show the url image directly in a subalbum?

Thanks.
Administrator
Administrator
acrylian   2012-09-11, 11:54
#2
image url within next_image() loop:
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetImageThumb

image url of the album thumb within next_album():
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetAlbumThumb

Out side the loops (and also within) also:
http://www.zenphoto.org/news/zenphotos-object-model-framework
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.