Only able to upload PNG images with django-ckeditor-5

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?

Back to Top