Member
Member
Michel Gagnon   2012-02-16, 20:05
#1

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.

Member
Member
sbillard   2012-02-16, 21:01
#2

I think you are refering to the i.php script. We also refer to this as the image processor. URLs linking to i.php with the appropriate parameters can be used to display an image outside of Zenphoto.

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.

Member
Member
Michel Gagnon   2012-02-16, 21:30
#3

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?

Member
Member
sbillard   2012-02-16, 22:28
#4

The image cache is erased only if you manually initiate it with the purge image cache button.

Member
Member
Michel Gagnon   2012-02-17, 00:31
#5

Thanks.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.