I recently tried installing Airtight’s SimpleViewer Gallery on one of my client’s sites. I liked it because I could upload the photos to flickr and it will automatically generate thumbnails and add everything to the gallery.

One Problem. SimpleViewer didn’t work at all in FireFox.

Here is how I fixed the SimpleViewer FireFox Bug

How To Make SimpleViewer Work in FireFox

I’mĀ surprisedĀ it didn’t work out of the box.

1) Take the Following Script and change the 100% values to a number such as 960 and 600. Firefox needs an actual number, not a relative value. Let me know if this works for you! It worked for me!

<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js”></script>
<script type=”text/javascript”>
var flashvars = {};
flashvars.galleryURL = “gallery.xml”;
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = “always”;
params.bgcolor = “222222″;
swfobject.embedSWF(“simpleviewer.swf”, “flashContent”, “100%“, “100%“, “9.0.124″, false, flashvars, params);
</script>