Image file extensions
Quote from richards on April 21, 2020, 9:47 pmNormally we have no problem with uploading images. However recently someone was trying to upload an image and couldn’t although previously he had had no problems. It turned out that the image he was trying to upload had an upper case .JPG file extension. I changed this to lower case .jpg and everything worked OK as expected.
I then tried to add the upper case file extensions in the Forum settings menu but they were automatically changed back to lower case.
Can this be changed in the Forum settings or is it a Wordpress Theme problem?
Regards
Richard
Normally we have no problem with uploading images. However recently someone was trying to upload an image and couldn’t although previously he had had no problems. It turned out that the image he was trying to upload had an upper case .JPG file extension. I changed this to lower case .jpg and everything worked OK as expected.
I then tried to add the upper case file extensions in the Forum settings menu but they were automatically changed back to lower case.
Can this be changed in the Forum settings or is it a Wordpress Theme problem?
Regards
Richard
Quote from Asgaros on April 26, 2020, 3:36 amHello @richards
The filename-validation should automatically convert the file-type into a lower-case value and compare it against a lower-case-list of the allowed file-types. I just checked it on my development-installation and it is working perfectly fine. Are you using the latest version of the forum?
Hello @richards
The filename-validation should automatically convert the file-type into a lower-case value and compare it against a lower-case-list of the allowed file-types. I just checked it on my development-installation and it is working perfectly fine. Are you using the latest version of the forum?
Quote from richards on April 26, 2020, 10:43 amThanks for the answer and that is what I would have expected. Yes, I have the latest version.
I will try to upload the file with upper case file extension here. This didn’t work on my forum so if it works here it must be due to my Wordpress installation.
Thanks for the answer and that is what I would have expected. Yes, I have the latest version.
I will try to upload the file with upper case file extension here. This didn’t work on my forum so if it works here it must be due to my Wordpress installation.
Uploaded files:Quote from Asgaros on May 6, 2020, 3:36 amHello @richards
If you could find the issue, let me know. This can be helpful for other users in the future as well! 🙂
Hello @richards
If you could find the issue, let me know. This can be helpful for other users in the future as well! 🙂
Quote from richards on May 6, 2020, 10:59 amThis is an odd one. Just looking at it again, I find that I can upload other images with .JPG endings but not the one in question. If I save it with a .jpg extension it works OK
I put it in a Dropbox file for you to download and test
https://www.dropbox.com/s/vghhopdbg9dzkfm/P1050087.JPG?dl=0
Richard
This is an odd one. Just looking at it again, I find that I can upload other images with .JPG endings but not the one in question. If I save it with a .jpg extension it works OK
I put it in a Dropbox file for you to download and test
https://www.dropbox.com/s/vghhopdbg9dzkfm/P1050087.JPG?dl=0
Richard
Quote from richards on May 6, 2020, 11:03 amSorry, of course I have already tested it on your forum so you don’t need to look at it. But it seems to be specific to this image or series of images.
Sorry, of course I have already tested it on your forum so you don’t need to look at it. But it seems to be specific to this image or series of images.
Quote from Asgaros on May 12, 2020, 4:00 amHello @richards
Are you maybe using some kind of security-extension which for some reason prevents you from uploading that file?
Hello @richards
Are you maybe using some kind of security-extension which for some reason prevents you from uploading that file?
