Sunday, 12 October 2008

SimpleViewer, Blogger and Picasa Web Albums

SimpleViewer is an excellent Flash based image viewer by Airtight Interactive (Felix Tuner). It's behaviour and image gallery can be configured by using an XML configuration file. There are even user-friendly tools available to generate these XML files. I have happily been using SimpleViewer on my blog for some time now, but have come across some obstacles on moving from my own hosted site to a custom domain hosted by Blogspot, with images hosted in Picasa Web Albums.

The solution requires the use of a file hosting service which allows http access to Flash files (.swf) and XML files. FileDEN currently allows both. For some reason, SimpleViewer doesn't seem to locate the gallery if the flash and xml files are hosted on two different domains.

Anyway, here's an example of the setup:



The code is as follows:

<embed type="application/x-shockwave-flash" bgcolor="#000000" flashvars="xmlDataPath=http://www.fileden.com/files/2008/10/8/2134533/gallery.xml" src="http://www.fileden.com/files/2008/10/8/2134533/viewer.swf" height="480" width="480"></embed>

One remaining obstacle which I haven't been able to solve is the use of thumbnails, as SimpleViewer requires all thumbnails to have the same URL prefix, whereas in Picasa Web Albums this is not the case.