Topic: buildindex.php (Autoviewer version of buildgallery.php)

Hi,

I hacked up buildgallery.php from SimpleViewer to get the width and height of images in an Autoviewer images directory and generate gallerydata.xml.  Check it out, please feel free to distribute it (after having a look at the code, I'm no PHP guru) with Autoviewer or do whatever you want with it, or not smile.  It wants gallerydata.xml to be there already.

http://www.geoffsmithphoto.com/zip/buildindex.php.zip

(option click, right click Save As... or curl or wget this since my server doesn't send the right mime type with zip files and so if you just click it will be inlined in the browser)

Best,
--Geoff

p.s. Autoviewer rocks!  Using it on my site: http://www.geoffsmithphoto.com/

Re: buildindex.php (Autoviewer version of buildgallery.php)

It occurs to me I may have posted this in the wrong place, if so mods please move.  Thanks/sorry!

--Geoff

Re: buildindex.php (Autoviewer version of buildgallery.php)

Thanks for the script Geoff! You site looks nice. Great photos!

Felix Turner
SimpleViewer Support Team.

Re: buildindex.php (Autoviewer version of buildgallery.php)

Thank you so much Geoff! Works like a charm. I was just about to suggest it as a feature when I read your post.

Very much appreciated!

Re: buildindex.php (Autoviewer version of buildgallery.php)

Geoff, I've added a link to your script on this page:
http://www.airtightinteractive.com/proj … truct.html

Felix Turner
SimpleViewer Support Team.

Re: buildindex.php (Autoviewer version of buildgallery.php)

yes, i think so... smile

Re: buildindex.php (Autoviewer version of buildgallery.php)

Is this something similar to wp-simpleviewer?  I think this would be a better Wordpress plug-in than Simpleviewer. 

Thanks.