Skip to content

'ImageFieldFile' object has no attribute 'split' #29

Open
@studiorooster

Description

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 %}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions