![]() |
|
Using Zenphoto pictures outside of the gallery - 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: Using Zenphoto pictures outside of the gallery (/thread-9648.html) |
Using Zenphoto pictures outside of the gallery - Michel Gagnon - 2012-02-16 Hello, I'm aware that the function $i can be used to access gallery photos outside of Zenphoto itself. Do these photos have to be readily visible in a gallery or is there a way to keep them outside of a readily visible gallery, yet usable by the function $i? Basically, we have taken quite a few pictures of our church building. I don't want to overwhelm readers by showing 300 of them in a gallery; so I want to show only the 50 best ones. However, for some web pages outside the gallery, I might prefer to use one of the "hidden" ones to highlight a particular feature of the church. Thanks. Using Zenphoto pictures outside of the gallery - sbillard - 2012-02-16 I think you are refering to the However, you would be better off to pass the cache file URL so that no "extra" processing is needed. If you (as admin) have viewed the image on the image page it will be cached. Alternatively you can link to the actual image in the albums folder. Using Zenphoto pictures outside of the gallery - Michel Gagnon - 2012-02-16 Thanks Stephen. I was indeed referring to the i.php script. One question I have with the cache: aren't files erased after a certain time? If I cache an image today, would it still be in the cache one or two years from now? Using Zenphoto pictures outside of the gallery - sbillard - 2012-02-16 The image cache is erased only if you manually initiate it with the Using Zenphoto pictures outside of the gallery - Michel Gagnon - 2012-02-17 Thanks. |