Thank you but I want to do that without external apps if possible :)
I am looking for a simplest way to create a thumbnail automatically
when a new book is created.


------------------

On Jan 2, 4:59 pm, Chris Moffitt <ch...@moffitts.net> wrote:
> You'll probably want to use one of Django's thumbnail apps. Here's the one I
> recommend:http://code.google.com/p/sorl-thumbnail/*
>
> -*Chris
>
> On Sat, Jan 2, 2010 at 9:48 AM, nameless <xsatelli...@gmail.com> wrote:
> > Hi everyone I have a simple question.
> > This is my model:
>
> > class book(models.Model):
> >    title = models.CharField(max_length=50)
> >    photo = models.ImageField(upload_to='images/avatar/')
> >    thumb = models.ImageField(upload_to='images/thumb/')
>
> > I want in photo original photo and in thumb the same photo but
> > resized.
> > How do I do that in simplest way ?
>
> > Thank you and Good year  ^_^
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to