Rank: Member
Groups: Member
Joined: 12/17/2010(UTC) Posts: 24
Was thanked: 1 time(s) in 1 post(s)
|
Hi
On our site, using aurigma uploader, we only allow jpeg files to be uploaded. Some of our customers get clever, and change the extension of png images to jpg. This does not turn the image into a valid jpg-file, but it will still be uploaded. I know it's possible to validate this after the image have been uploaded, but would it also be possible to validate mime-type in the uploader?
Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, If you mean Image Uploader (Java/ActiveX). It has format() property. However, it works for Image Uploader ActiveX only, i.e. in Internet Explorer. Image Uploader Java does not support this feature. Image Uploader Flash does not have format() property. Unfortunately, there is no way to check mime-type of files. Edited by user Friday, December 16, 2011 2:58:25 AM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Member
Groups: Member
Joined: 12/17/2010(UTC) Posts: 24
Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
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.