- Posts: 6
- Thank you received: 0
The Kunena team has announce the arrival of Kunena 184.108.40.206 [K 6.1.3] which is now available for download as a native Joomla extension for J! 4.2.x/4.3.x. This version addresses most of the issues that were discovered in K 6.1.0 and issues discovered during the last development stages of K 6.1
Question Allowed avatar file extensions not working
One error I found and I can't fix is that when my friend tried to upload a .bmp image, it didn't work.
First of all, I added the bmp to the allowed images list, also added the corresponding MIME type image/bmp to the MIME list.
My friend tried to upload the file, and it said it was the wrong file extension and wasn't allowed.
It also displayed the allowed extensions (txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2) from the normal files and not images.
Even after adding bmp to the allowed files list, he cannot upload bmp files, and the size shouldn't be a problem, it's set to 1mb and the image is way under.
PS: I'm using the newest kuena with joomla 1.5, K2 and jcomments.
Also, make sure your list of allowed file extensions is comma-separated. So gif,jpg,png,bmp and not gif,jpg,png.bmp
Anyway, I'll let my friend test it again, might as well disable the MIME thing all together, or are there any security risks by doing this?
It;s worth nothing that it takes all of a minute to change a bmp to a jpg, and it makes it smaller too. The server just converts it to a jpg anyways after it's uploaded.
I don't know too many people who use .BMP files in this way. Until we can find an answer to your question, I recommend that you do not try to upload .BMP files for avatar images.
naike wrote: ... still not able to upload bmp images.
This makes me think that I can't allow custom extensions to be uploaded.