Closed (fixed)
Project:
Image Picker
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2009 at 06:10 UTC
Updated:
28 Sep 2009 at 14:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hutch commentedWhen the browser sends an image up to the server it includes some metadata, in this case it should have sent type='image/png'
Apparently it sent something else, eg type='image/jpg' ;-(
Sometimes you get people who think that you can change an image's type by changing it's name, you reversed the process and it worked. Or something like that.
Comment #2
jaypanIn this case, I created the image myself in photoshop, and saved it as a .png file. It was then moved to a memory stick, and on to another computer, from where the upload was attempted. But there were no filetype or name conversions between that point, just media transfers.
If it happens again, I will upload the image here when it happens.
Comment #3
steven jones commentedI can confirm this issue with IE, and image picker 1.4.
Comment #4
steven jones commentedIE 8 sends:
'image/x-png'
Comment #5
steven jones commentedOkay the issue is that IE7 and later does the whole funny mime type thing with JPGs and PNGs. Imagepicker handles JPGs but not the PNG issue. Find attached patches for:
Marking critical as this issue is quite serious.
Comment #6
hutch commentedThank you for the patches, I will apply them to cvs shortly
M$Windows does it again ;-(
Comment #7
hutch commentedpng-x bug applied to imagepicker, there are new stable versions for D5 and D6 and the devs will catch up later.
Comment #8
hutch commented