Junior Member
Junior Member
boxhamster   2010-02-22, 11:43
#1

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=amorphis

can anybody please help me?

thank you,
markus

Administrator
Administrator
acrylian   2010-02-22, 12:21
#2

Depending what your site uses except for Zenphoto you might try this:
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.

Member
Member
wongm   2010-03-05, 11:48
#3

I have done something somewhat similar, I host my images with Zenphoto then post links to them on forum boards (using BBcode). The links I use on the forum board are as follows:
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)

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