On Tuesday, February 22, 2011 6:22:16 PM UTC, Bobby Roberts wrote: > > Hi group. I've posted this in the satchmo group but am posting here > as well in hopes of getting some help. > > This error is caused by this code: > > {% if product.main_image %} > <center> > {% thumbnail product.main_image.picture 85x85 as image > %} > <a href="{{ product.get_absolute_url }}"><img > src="{{ image }}" width="{{ image.width }}" > height="{{ image.height }}" /></a> > </center> > {% endif %} > > > > it makes use of sorl thumbnail to resize images on the fly i believe. > We can import sorl thumbnail into python from command line just fine. > > If anyone uses satchmo for their ecommerce store have you run into > this error? How did you resolve. Please help and thank you in > advance. > > You haven't loaded the template tag library that defines the thumbnail tag.
{% load thumbnail_tags %} or whatever. -- DR. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.