Image compression before saving the new model / work with JPG, PNG
Don't forget to replace "self.image" by your image field name from your model ex ( self.cover ) replace Product by your model name works pretty well :)
- image
- save
- imagefield
- compression
- images