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

2010-06-01 Thread Ricardo Bánffy
Thanks, Bill. I really had a hard time wrapping my head around the ImageField object model. I guess I am now OK, but I had to do more seek(0)'s than I wanted. It's sort of working and properly deduplicating images and thumbnails. I'll check the django-filebrowser product, tidy up what I have done

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

2010-06-01 Thread Bill Freeman
Perhaps see the django-filebrowser product. It may have things that you don't need, but makes thumbnails, and associates them with an image field, so it is at least a sample of what's involved. Bill 2010/5/31 Ricardo Bánffy : > Hi folks > > I am having huge problems wrapping my head around the I

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

2010-05-31 Thread Ricardo Bánffy
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 miser