django-watermark
django-watermark copied to clipboard
'ImageFieldFile' object has no attribute 'split'
I would love to use this library, but am getting a 'ImageFieldFile' object has no attribute 'split' error. Migration was smooth, I have it declared in settings and and loaded it in my template. Any thoughts? Thank you. Below is my code.
{% if category.image %}
<img src="/media/{{ category.image|watermark:"test,opacity=40,tile=1" }}"
alt="{{ category.title }}" title="{{ category.title }}"
class="img-responsive center-block shop-item-img-list-view"/>
{% else %}
<img src="http://placehold.it/350" width="100%">
{% endif %}
try to pass image url, not the image object
will be fixed in a future releases