Hi,
first of all thank you for this cool gallery-tool.
I'm trying to use it on my website for my concert-photos and got one problem: showing thumbnails on an external site depending on a search-term over the zp-database tooks very long. (i want to show thumbnails for all photos in the gallery which are fitting to the search-term).
I use the functions in /zp-core/i.php so for every picture a new thumbnail is generated, every time.
is there another, faster way? i do not really understand how i get the filename of a cached thumbnail for showing external - that would be the best i think..?
an example how it should look (you can see how long loading thumbs does take):
http://vampster.com/search/show/index_galerie.php4?searchString=amorphiscan anybody please help me?
thank you,
markus
Comments
http://www.zenphoto.org/2009/12/zenphoto-as-a-plug-in-using-zenphoto-functions-from-outside-zenphoto/
It does not work with some CMS like Wordpress anymore though.
http://wongm.railgeelong.com/mildura-freight/image/500/E102_7633.jpg
There seem to be some smarts in the background of Zenphoto to resolve this image - if the image exists in the cache then I get redirected to:
http://wongm.railgeelong.com/cache/mildura-freight/E102_7633_500.jpg
If I delete the cached image, then if I hit my 1st URL, Zenphoto makes a new one then puts it into the cache. (a bit safer long term than linking straight to the cache).
This doesn't really help you with the search issue however. (as I am using hardcoded URLs)