Hi
I am storing an image in a SQL database.
All works fine in IE 8. I upload file (image), click the button, and hey presto, it's in the database.
When I tested this in Firefox and Safari, the image didn't seem to be stored in the database.
However, on close examination, it seems that the MIME type of the images differ.
When the image is uploaded in IE, the MIME type is: image/pjpeg
With Firefox and Safari, the MIME type is: image/jpeg
Has anyone come across this before?
Here's the relevant code:
// Get the Size and Type of the Image
imgSize = FileUpload1.PostedFile.ContentLength;
imageType = FileUpload1.PostedFile.ContentType;
// ...
Go to the complete details ...