With Imagefield 3.0 beta 2 and Filefield 3.0 beta 2 I have tried to upload a jpg but it says "The selected file jpg. could not be uploaded. Only files with the following extensions are allowed: jpg jpeg png gif."

I would attach the image to this post, but the same error occurs here!

Perhaps this will work for reproducing the problem --> Rename a jpg file to "测试" and try uploading it with Imagefield.

Comments

quicksketch’s picture

Can you add a .jpg extension to the file and see if it works? "测试.jpg" I'm not sure if this is normal for Chinese files or not.

OneTwoTait’s picture

Yes, it does have a jpg extension on it. I thought all jpg files had jpg extensions.

quicksketch’s picture

Priority: Critical » Normal

Well, that's what I was checking. :)

As a work-around, you might be able to install the transliteration module, but if the JavaScript checking is preventing the upload to begin with this'll need to be fixed at that level also.

OneTwoTait’s picture

It worked! All I did was install Transliteration, try again with the same file and it worked.

Thanks.

quicksketch’s picture

Category: bug » support
Status: Active » Fixed

Great! That's why it's a recommended module on the project page. Perhaps it should be made a required module with how often this comes up.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.