While working on some image uploading code for the YouService webtop today I came across an interesting tidbit. It turns out that you can’t load a local image file from a webpage. We’d like to be able to show a preview of an image before it’s uploaded by doing:
But it turns out that Firefox throws a security expception when you try and do this. It works just fine with IE, so this is sending us back to the drawing boards for a bit.