Tuesday, December 29, 2015

Re: Django - Upload Image to the server with dimension

Hello Guys.
I have a website and am trying to build a rating system for the site.
The system takes in user's rating and rewards them at the end of the month according to their ratings.
I honestly dont know where to begin.
i have searched for some things online but i still need help


On Tue, Dec 29, 2015 at 12:35 PM, monoBOT <monobot.soft@gmail.com> wrote:
Take a look at this:


2015-12-29 7:12 GMT+00:00 ken phanith <phanithken@gmail.com>:
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.



--
monoBOT
Visite mi sitio(Visit my site): monobotsoft.es/blog/

--
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/CA%2BxOsGCCEBX3mYcuO25jkDQz1e2iZN5aRzoS_fxtfn27WEu9AA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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/CAE6v7ofQp7vGto3SzDHTG27Ei-dR05_Mu3y3shSPZ9ehfj2AgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment