Re: sorl.thumbnail is not working

2012-05-25 Thread Oana Salageanu
The MEDIA_ROOT is set up correctly: MEDIA_ROOT = '/home/myusername/ myprojectname/uploads/' And the images are stored here: /uploads/files/img/foldername/file.jpg The relative path, /uploads/files/img/wahanda/name.jpg works..but not like this: {% thumbnail result.object.image_path "50x50" crop="80

Re: sorl.thumbnail is not working

2012-05-24 Thread krzysiekpl
Did you correctly set up MEDIA_ROOT in settings ? Sorl-thumbnail only use files from MEDIA_ROOT try to move uploads/ to media a then use realtive path to file. On 24 Maj, 06:40, Oana Salageanu wrote: > I'm not sure what I'm doing wrong, this is my template code: > {% load thumbnail %} > > {% thum

sorl.thumbnail is not working

2012-05-24 Thread Oana Salageanu
I'm not sure what I'm doing wrong, this is my template code: {% load thumbnail %} {% thumbnail result.object.image_path|make_thumb "50x50" crop="80% top" as im %} {% endthumbnail %} where result.object.image_path|make_thumb, it's something like this: http://93.XXX.XX.XXX:8000/uploads/files/img/