Upload Issue - No Resized Images Generated -django-avatar=5.0.0

I am using django-avatar=5.0.0 on django=1.11.4 and pillow=4.2.1. When i try to upload a new avatar, it saves it in the database but the resized image and folder is created for .jpg and .jpeg file but not for.png file.

This is the image source the template is looking for but it's not created: <img src="/media/avatars/user/resized/80/9919.png" alt="Avatar object" width="80" height="80"> But for jpeg and jpg file format, the image is retrived from library: <img src="/media/avatars/user/resized/80/9919.jpeg" alt="Avatar object" width="80" height="80">

Back to Top