Commit 11728df3 by benjaoming

Merge pull request #232 from vincentalvo/patch-1

Image plugin: old revisions thumbnail error
parents 84443836 3b944b0a
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
{% for old_revision in image.revision_set.all %} {% for old_revision in image.revision_set.all %}
<tr> <tr>
<td> <td>
{% thumbnail revision.imagerevision.image "50x50" crop="center" as thumb %} {% thumbnail old_revision.imagerevision.image "50x50" crop="center" as thumb %}
<img src="{{ thumb.url }}" alt="{{ revision.imagerevision.get_filename }}" /> <img src="{{ thumb.url }}" alt="{{ revision.imagerevision.get_filename }}" />
{% endthumbnail %} {% endthumbnail %}
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment