It might be worth you taking a look at the work done on Thumbnails in
DjangoUtils:

http://djangoutils.python-hosting.com/wiki/Thumbnails

Although not a solid chunk of code (there are a few issues with
namespaces, and it uses some Python 2.4 specific stuff), but with a
bit of hacking I got automatic thumbnail generation working recently,
using template filters.

-Phil

On 20/06/06, Sasha <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'd like to create a thumbnail for an image after it has been uploaded.
> I have seen two possible approaches descibed here - subclassing
> ImageField and overriding the save() method of the model. Although the
> former seems more elegant, the latter seems like less work and I'm
> inclined to try it first.
>
> However I'm not clear about how I can manipulate an ImageField (or any
> field for that matter) inside the models' save() method. Can anyone
> help?
>
> Thanks!
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to