I ran into this issue also with the latest version of satchmo and sorl- thumbnail. According to the sorl-thumbnail documentation, the tag needs to be closed like so:
{% thumbnail item.image "100x100" crop="center" as im %} <img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}"> {% endthumbnail %} It is quite likely you are (as am I) using code that expects an older version of sorl-thumbnail. http://thumbnail.sorl.net/examples.html Options are possibly: use an older version of sorl-thumbnail, or update templates. On Feb 25, 3:43 pm, Bobby Roberts <tchend...@gmail.com> wrote: > anyone have any other ideas? > > On Feb 22, 5:02 pm, Bobby Roberts <tchend...@gmail.com> wrote: > > > > > > > > > Hey Daniel - > > > we've got {% load thumbnail%} at the top of the template (a standard > > satchmo template anyway)... running version 3.2.5 for sorl. > > > On Feb 22, 4:25 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > > > > 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.