![]() |
|
is it possible to go index.php->album.php->imag.php... - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: is it possible to go index.php->album.php->imag.php... (/thread-6932.html) |
is it possible to go index.php->album.php->imag.php... - bbruno - 2010-04-17 is it possible to go index.php->album.php->image.php? 1 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Galleryto 3 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery%2FAtomscaper&image=Brown1.jpgNOT - 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-Gallery2 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery%2FAtomscaper3 http://www.morningstarmarble.com/product-gallery/index.php?album=Collaborations-Gallery%2FAtomscaper&image=Brown1.jpgis it possible to go index.php->album.php->imag.php... - acrylian - 2010-04-17 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 is it possible to go index.php->album.php->imag.php... - bbruno - 2010-04-18 acrylian - aweseome! getFirstImageURL is EXACTLY what i wanted to do. Replaced the function in the code bingo. thanks |