Member
Member
jsumners   15-11-2008, 23:39
#1

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.

Administrator
Administrator
acrylian   16-11-2008, 12:15
#2

Alright, I will add it to our extensions page.

Member
Member
jsumners   16-11-2008, 18:35
#3

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

Member
Member
jsumners   24-11-2008, 21:57
#4

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.

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