Monday, February 11, 2008

Autoviewer XML Generator

For my webdesign activities, I sometimes use the great Autoviewer, which is a handy flash application to quickly display images in a slideshow fashion. Recently, I implemented this in a small website for a company.

They were going to add photo's every day, and don't know how to edit XML files to include the new pictures. I added a handy python script to generate an XML file based on all the images contained in a folder. All comments are left blank, so if you want comments on every picture, you still have to edit the XML. Alltogether, it's better than nothing. Enjoy, hope it's of good use somewhere.

Update Dec 30 2008:

This script seems to be very popular. Possible enhancements are proper image scaling using the python image library. Let me know if you have implemented this.

3 comments:

Warren said...

THANK YOU SO MUCH!

Warren said...

Actually, I can't seem to download the file.

Forceflow said...

Fixed it