Zen Photo Latest Album Thumb on external page

Hi,

I'm building a XHTML site and am using zenphoto as an image gallery for one of the pages. However, i would like to print images from the two most recent albums on the home page as examples of work. I have looked at the hack 'using zenphoto as a plugin' and have got that working as part of my design however these are random images and i want specific ones to be displayed.

As an addition to this is what is the php to print the corresponding album description alongside the image.

The website is http://www.themultimediarock.com/clients/index.php

Comments

  • Please review the functions guide on the zenphoto website. There you will find all the zenphoto functions described. You may want the "latest image" function or you may need to use the album and image class methods. That would depend on exactly what you wish to accomplish.
  • I appreciate the response. I am fairly new to php and am having difficulty getting the script from the functions page to work the way i want it to.

    I have a test page which is what i'm using to try different combinations.
    http://www.themultimediarock.com/clients/test.php

    If it would be easier do you know how i could print the album desc of the random images that are being loaded?
  • acrylian Administrator, Developer
    I assume you use the random images function. It returns an image object so you can use the image class method to get and echo it.
Sign In or Register to comment.