Re: Image auto resizing

2006-07-20 Thread Enrico
That's right! I found out that myself and posted on "Nesh django utils" a few hours ago. Regards. Enrico --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Image auto resizing

2006-07-20 Thread Nebojsa Djordjevic
Enrico wrote: > Hi, > > I got it working in the model by using: > from nesh.thumbnail.field import ImageWithThumbnailField > > But I couldn't apply the filter in the template. What is needed to use > the filters? > > Nesh apps are in the "site-packages/nesh" Python Lib folder. > > The closer I

Re: Image auto resizing

2006-07-17 Thread Enrico
Hi, I got it working in the model by using: from nesh.thumbnail.field import ImageWithThumbnailField But I couldn't apply the filter in the template. What is needed to use the filters? Nesh apps are in the "site-packages/nesh" Python Lib folder. The closer I got was loading the app "nesh.thumb

Re: Image auto resizing

2006-07-15 Thread Enrico
Thanks guys, I'll try it out, it seems very good. Nebojsa, don't worry about the self promotion, thanks for sharing. :) Enrico --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Image auto resizing

2006-07-15 Thread Kenneth Gonsalves
On 15-Jul-06, at 1:41 PM, Nebojsa Djordjevic wrote: >> How hard would be to create a "custom" ImageField for this? >> It could be used in many other models in my project, and could >> even get >> included in the Django package. > > > Try http://trac.studioquattro.biz/djangoutils/wiki/Thumbnail

Re: Image auto resizing

2006-07-15 Thread Nebojsa Djordjevic
Enrico wrote: > Hi, > > I'm trying to resize an image automatically after the upload. Maybe > Django should have this by default, but until there I'll try myself... > > I got it working sucessfully, but I don't know if this is the best way, > the image is processed every time I save the object,

Image auto resizing

2006-07-13 Thread Enrico
Hi, I'm trying to resize an image automatically after the upload. Maybe Django should have this by default, but until there I'll try myself... I got it working sucessfully, but I don't know if this is the best way, the image is processed every time I save the object, it should be done only on ne