Monday, December 28, 2015

Django - Upload Image to the server with dimension

I simply use ImageField from PIL package for Django Image Upload but it does not satisfy me at all. I have a models class which contain many fields including ImageField also. I am trying to upload 10 images to the server but those images have the different dimension. I want to upload those image to the server but with same dimension (700*400) as the example.
Actually, I want to do that by using Django but I don't have any idea on how to do that. Does anyone have any ideas on how to do that? Please help me.
Thank you very much.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e12e269f-8ca6-48f6-ad6f-722b84e3ef2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment