is it possible to go index.php->album.php->imag.php...

is it possible to go index.php->album.php->image.php?
Rather than index.php->album.php->album-gallery->image.php?
Meaning, right now, if you create an album, if you click to load the images, it always takes to an extra page with thumbnails.
For example: I want to go from
#1 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery
to
#3 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery/Atomscaper&image=Brown1.jpg

NOT - to me #2 is an extra unecessary step. Anyway of removing? When someone choose to view the atomscaper gallery, they have to go through #2 to get there.
#1 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery
#2 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery/Atomscaper
#3 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery/Atomscaper&image=Brown1.jpg

Comments

  • acrylian Administrator, Developer
    index.php (toplevel albums)->album.php (thumbs of images in albums or subalbums or both)->image.php (individual image) is the standard way how Zenphot themes work. You have subalbums thus the extra step.

    I suggest to read the theming tutorial before proceeding to understand how Zenphoto themes work. You want probably to jump to the first image of each sub album directly. We have a function for that, search the documentation for "firstimage " or so (don't remember the exact name right now)

    Edit: See here http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetFirstImageURL
  • acrylian - aweseome! getFirstImageURL is EXACTLY what i wanted to do. Replaced the function in the code bingo. thanks
Sign In or Register to comment.