Firefox extension for uploading images.

When using image galleries, you usually need to upload a set of files with one action. A problem of web based galleries is that browsers(html) provide only a single-select file opener. Big players in this market (like Flickr, Smugmug, Google Picasa ) use various tricks to get around said problem - flash, java applets or browser extensions.

After analyzing the basic (read: free) services of these sites, I decided to 'roll my own' little image gallery (I'm too cheap to pay for proper support). Being faced with the upload problem, I took the oportunity to get my A,B,C's straight about XUL and XPCOM.


So I wrote my own little Firefox extension that uploads images to the gallery. It's probably of no use to anyone else but if you need something similar and you are clueless about this stuff take a peek, maybe it's useful as a code sample. (Even though it's a quick hack, bad code, "works for me" kind of thing). Drop me a line if you need help with it.

Of course there's 'prior art' to this, and I wouldn't have had the patience to do this without their help: