I am building a simple blog application in Django and istalled django-ckeditor-5. I am able to upload PNG images with no problem, but when I try to upload JPG image of any size (or any other format), the browser throws an alert
localhost:8000 says
Couldn’t upload file: filename.jpg
I didn’t include any restrictions in the models or in the settings. I basically copied the ckeditor configurations from their documentation.
I didn’t have this problem with the previous version of ckeditor, but apparently it has some vulnerability issues…
Any ideas how I can enable other file formats for images?
Branislav Dimitrov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.