Comments (5)
Simon said: (29 months ago)
Thank you so much. This is perfect.
SAn said: (26 months ago)
realy cool, thanks a lot!
Daniel Jewett said: (24 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: (24 months ago)
Well, I added:
from django import oldforms
to 'sorl/thumbnails/fields.py'
Seems to work for now.
Regards,
Dan J.
Chris said: (24 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/...