I'm not sure what I'm doing wrong, this is my template code:
{% load thumbnail %}
{% thumbnail result.object.image_path|make_thumb "50x50" crop="80%
top" as im %}
<img src="{{ im.url }}">
{% endthumbnail %}
where result.object.image_path|make_thumb, it's something like this:
http://93.XXX.XX.XXX:8000/uploads/files/img/wahanda/name.jpg
I also tried this:
{% thumbnail result.object.image_path "50x50" crop="80% top" as im %}
<img src="{{ im.url }}">
{% endthumbnail %}
where result.object.image_path is /uploads/files/img/wahanda/name.jpg
If I copy the path and put it in my browser, it works, so the path is
ok.
Also, this works:
{% thumbnail "
http://www.aino.se/media/i/logo.png" "50x50" crop="80%
top" as im %}
<img src="{{ im.url }}">
{% endthumbnail %}
Any ideas on what i'm doing wrong?
I can't use ImageField in my model since I only store the path.
Any suggestion will be super appreciated.