Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
oyvind  
#1 Posted : Friday, December 16, 2011 12:54:04 AM(UTC)
oyvind

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.
Dmitry.Obukhov  
#2 Posted : Friday, December 16, 2011 2:26:39 AM(UTC)
Dmitry.Obukhov

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.
oyvind  
#3 Posted : Sunday, December 18, 2011 10:30:27 PM(UTC)
oyvind

Rank: Member

Groups: Member
Joined: 12/17/2010(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
Ok. Thanks for the info.
Users browsing this topic
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.