melinath / django-daguerre

On-the-fly image manipulation for Django.
http://django-daguerre.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
85 stars 14 forks source link

Made {% adjust %} template tag return an info dict instead of a helper instance #120

Closed melinath closed 4 years ago

melinath commented 4 years ago

The {% adjust %} template tag was not supposed to return a helper instance; it's supposed to return the info dict for a single image adjustment. At some point that got a little messed up, probably as part of the work to introduce bulk adjustments and refactor how helpers worked?

In any case, this PR resolves the issue by updating the template tag to correctly return an info dict. This fixes #105. Thanks @pembeci for the report!