If you need it only for one particular form, you can also override
clean_():
---
import Image # PIL
class UserProfileForm(ModelForm):
class Meta:
model = UserProfile
# Model UserProfile has an ImageField named avatar.
def clean_avatar(self):
im
I want to expand on the ImageField functionality of django. Mainly, I
want to check the dimensions of the image the user is uploading, and
resize / crop where appropriate. I would also like to set compression
amount, and perhaps even allow for watermarking. I know there are
several libraries out t
2 matches
Mail list logo