ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

id path for photo gallery thumbnail

November 20, 2007 11:39am

Subscribe [1]
  • #1 / Nov 20, 2007 11:39am

    chabbs

    12 posts

    I’m using the photo gallery module which works well. On certain pages of my site I’ve placed random images using this:

    {exp:gallery:entries gallery="gallery1|gallery2" orderby="random" columns="1" rows="10" cache="yes" refresh="5" }

    I’ve set it up so it shows randomly from two different galleries and it works, but today I noticed an error and something that I hadn’t considered before which is the id path in the anchor, for example: <a href=”{id_path=gallery1/image_full}”> The way it’s set up now the images are all linking to gallery1.

    Is there a way for the id path to include the right gallery when displaying a thumbnail?

    I hope I was clear in my explanation.

    Thanks for the help in advance.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases