Rank: Newbie
Groups: Member
Joined: 9/8/2008(UTC) Posts: 5
|
Is it possible to determine the mimetype of the uploaded image at the server ? Something like image/png. Additionally, is it possible to upload thumbnails as PNGs ? It appears that they are being uploaded as JPEGs by default.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hello, Quote:Is it possible to determine the mimetype of the uploaded image at the server ? Something like image/png. Sure. Image Uploader sends data to the server in standard multipart/form-data format as described with RFC 1867. You can do it the same was as if you uploaded file using <input type=file>. What is you server platform? Quote:Additionally, is it possible to upload thumbnails as PNGs ? It appears that they are being uploaded as JPEGs by default. Unfortunately there is no way to do it. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 9/8/2008(UTC) Posts: 5
|
Quote:Sure. Image Uploader sends data to the server in standard multipart/form-data format as described with RFC 1867. I'm using mod_perl2 at the server. I can see only one Content-type header (multipart/form-data; boundary=xxx....) in the whole request. I am not sure if Apache2 is squashing the data together, I am investigating. I know this is not really related to the uploader but if you have had this sort of issue before, do let me know.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Unfortunately I am not Perl guru. You need to google or ask on Perl message boards about it. |
Best regards, Fedor Skvortsov
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.