Is it possible to show Thumbnails of related pics under a picture?

Hi,

we're using zenphoto to showcase our products to customers and we are very pleased with it. However, we would like to be able to not only show the pictures our photographer took but also "related" pictures of them, showing the product in a more "real life" environment. I have prepared an example here:
http://www.active-blue.com/pictures/index.php?album=moebel/stuehle&image=clip_image001.jpg
This is a chair that we rent out. Below the picture of the chair is a tag that reads "Polsterstühle auf einer Veranstaltung" (Chairs on an event). It takes you to another picture with the same tag that shows our customers how the chair may look like on their own event.
Now, while this works fine, it would be even better if thumbnails of pictures with the same tag would be shown. Is that possible? If not, should I file a feature request?

Thanks!
trips

Comments

  • acrylian Administrator, Developer
    "Is it possible?" is always the wrong question. Nearly everything is possible but we do not have anything for that. So you will have to code that functionality yourself. Take a look at our object model framework on our documentation.

    You can of course submit a feature request but by nature these are considered "suggestions" and there is no guarantee that we will do this and if when.

    (As a sidenote: Your flash site does not work correctly in Safari 4. It is impossible to scroll on a longer page so content is truncated at the bottom and inaccessible.)
  • I'm still fairly new to the code bit and pieces, but here's a rudimentary stab at this...
    http://www.pastebin.ca/1559055

    With comments...
    http://www.pastebin.ca/1559056

    I'm guessing there should be a template variable for $_zp_current_image that looks a little less like, well, $_zp_current_image , but can't spot it right now.. there might not be ($_zp_current_image works anyway).

    Edit: I'll have to figure out how to place mixed php/html into posts here later.. pastebin will do for now, I hope
  • @ZeBoxx: thanks for sharing this very useful tip, i want show related albums, instead of images, any help?
  • acrylian Administrator, Developer
    @ZeBoxx: Did not check it but looks good. I would like to suggest to make a plugin out of this.
    @southdreams: Actually you just should needto change the image methods like getImages to getAlbums. See the documentation.
Sign In or Register to comment.