Member
Member
js0624   2011-05-10, 08:11
#1
I'm having a problem to display all the photos from a dynamic album, I have found a code but it will get random photos from dynamic album. Here it is:

<?php
$gallery_object = new Gallery();
$album_object = new Album($gallery_object,'featured.alb');
$image = getRandomImagesAlbum($album_object); ?>

What I need is to list all the photos under a dynamic album which I called as featured? Any help! Thanks in advance!
Administrator
Administrator
acrylian   2011-05-10, 08:16
#2
The gallery object is actually already setup on every theme page in `$_zp_gallery`. To get the albums use the method for it. See the documentation on the album class.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.