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
and post it somewhere.
On Tue, Jun 1, 2010 at 11:46 AM, Bill Freeman <ke1g.nh@gmail.com> wrote:
> 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 <rbanffy@gmail.com>:
>> 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
>> http://www.dieblinkenlights.com
>> http://twitter.com/rbanffy
>>
>> --
>> 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 django-users+unsubscribe@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-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>
--
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment