Comments (10)
Simon said: (50 months ago)
Thank you so much. This is perfect.
SAn said: (48 months ago)
realy cool, thanks a lot!
Daniel Jewett said: (46 months ago)
Hi Chris,
This is working well in admin list view (using get_image_thumbnail_tag(), but switching to add or change view produces an error with the following:
global name 'oldforms' is not defined
54. return [oldforms.ImageUploadField, oldforms.HiddenField] ...
▼ Local vars
Variable Value
self
<sorl.thumbnail.fields.ImageWithThumbnailsField object at 0x1977c50>
What can I do about that?
Thanks. Oh and beautiful baby!
Daniel Jewett said: (46 months ago)
Well, I added:
from django import oldforms
to 'sorl/thumbnails/fields.py'
Seems to work for now.
Regards,
Dan J.
Chris said: (46 months ago)
Thanks for your feedback, Daniel. Stuff like this is best tracked in the issue tracker: http://code.google.com/p/sorl-thumbnail/issues/...
cocobuster said: (19 months ago)
Hi,
I am having an issue with the thumbnail. Let say I have an image of 3000x4000, when the thumbnail is created the image orientations changes, my image was vertical, now it is horizontal.
any idea to force the resulting thumbnail to keep original orientation?
Prince said: (11 weeks ago)
Not able to download. No permission.
Prince said: (11 weeks ago)
not able to download. No Permission
Prince said: (11 weeks ago)
not able to download. No Permission
Prince said: (11 weeks ago)
not able to download. No Permission