Using Zenphoto pictures outside of the gallery

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.

Comments

  • 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.
  • 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?
  • The image cache is erased only if you manually initiate it with the `purge image cache` button.
  • Thanks.
Sign In or Register to comment.