Hi nymo,
I don't know the answer to your question but I can supply some advice.
One good thing about open source is that the source is available for you to
look at. Download one of such apps, look at the source to see how to
creator solved the problem. From there, you can learn a way to do it or get
inspiration to follow a more efficient or elegant route.

Sent from my Windows Phone
------------------------------
From: nYmo
Sent: 2/2/2013 9:44 PM
To: django-users@googlegroups.com
Subject: On the fly image resize

Hi all,
I'm new to django and also python but have already some programming
experience. I'm currently creating my first application in django and get
stucked because I'm looking for the best way to resize uploaded images.
I'm already so far that I can upload/delete/update my images and show them
in my view. Now I want to resize the images for my view and thought about
the best way?

First question: Is it possible to resize the images on the fly? For example
I uploaded an image in 1920x1080px and now want to transform it to 400x200
or something similar when the view is being loaded? Is this a convenient
way in django or not?

The only other way in my opinion could be to resize the image during the
file is being uploaded. What I don't like about this is that I have more
than one copy of one image only because of different image sizes.

Any other thoughs?

I know that there are some nice packages out there where such problems are
already solved. But since I'm new to django I want to learn by myself how
to accomplish the basic stufff :)

Thanks in advance

Regards nymo

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to