ZenphotoCMS Forum
Release: ZenPhoto external thumb - 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: Release: ZenPhoto external thumb (/thread-4076.html)



Release: ZenPhoto external thumb - jsumners - 2008-11-15

I don't use typical "blog" software. My website is written from scratch to suit my needs. So the Wordpress plugin for ZenPhoto does me no good. Also, my gallery is on a different subdomain than my web site. So, I've written a ZenPhoto addon(?) to allow me to get a thumbnail from my gallery and post it to my web site.

Features:

  • Retrieves images from the gallery based on the image filename. So you can move the image around between albums, move the parent album around, or whatever and not have to change the old thumbnail link.
  • Returns thumbnails in a default size or any requested size.
  • Will return a JSON object for integration into whatever web application you decide to write. It uses a server-side proxy to retrieve the data; so it should be safe against XSS injection.

Limitations:

  • Requires a *NIX host. The script relies on the find utility.
  • Has some hard coded paths at the moment.

You can see an example of the script in action at http://james.roomfullofmirrors.com/extthumb_example.html. You can get the script from http://james.roomfullofmirrors.com/code.php.

I hope you find it useful. It should be easy to use with any sort of web page.




Release: ZenPhoto external thumb - acrylian - 2008-11-16

Alright, I will add it to our extensions page.




Release: ZenPhoto external thumb - jsumners - 2008-11-16

Looks good. Thank you for not linking directly to the zip file.




Release: ZenPhoto external thumb - jsumners - 2008-11-24

Version 0.2 is available now. This version merely fixes the Javascript to support Opera and Internet Explorer. If you don't use the Javascript, there is no need to redownload it.