Monday, May 31, 2010

Importing ImageField from file or - better - generating it from another ImageField

Hi folks

I am having huge problems wrapping my head around the ImageField field
type. I am trying to generate default thumbnails for uploaded images,
both stored as ImageField attributes. It's done this way because the
user must be able to manually edit the thumbnail if needed.

I am failing miserably at that. I went as far as to generate the
thumbnail and saving it to a specific location, but I have so far been
unable to attribute the contents of that file to the ImageField that
corresponds to the thumbnail.

Has anyone solved this problem in a simple way?

Ricardo Bánffy

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment