Member
Member
fuzzi   2011-03-03, 13:43
#1
Hi,

is it possible to show only images from the same sub-album via printRandomImages() function?

I know you can define the Album by $option=album and $rootAlbum=xy - but what to do if i have a Subalbum like:

Artists/Artistname/Drawings/ ? When i add this string manually it works perfectly - but how can i add the right path / subalbum automatically so that printRandomImages() always shows images from the same subalbum im currently in?

Thanks for your help

NK
Administrator
Administrator
acrylian   2011-03-03, 13:48
#2
By using the global album object `$_zp_current_album->name`.
Member
Member
fuzzi   2011-04-06, 12:25
#3
works great, thank you!
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.