Fixes #1798. Adds transparency indicator to places it was missing

This commit is contained in:
Dave Cranwell 2015-11-27 11:10:55 +00:00 committed by Karl Hobley
parent d7a6e2d4ac
commit 6695c2b48c
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
{% for image in images %}
<li>
<a class="image-choice" href="{% if will_select_format %}{% url 'wagtailimages:chooser_select_format' image.id %}{% else %}{% url 'wagtailimages:image_chosen' image.id %}{% endif %}">
<div class="image">{% image image max-165x165 %}</div>
<div class="image">{% image image max-165x165 class="show-transparency" %}</div>
<h3>{{ image.title|ellipsistrim:60 }}</h3>
</a>
</li>

View file

@ -6,7 +6,7 @@
{% block chosen_state_view %}
<div class="preview-image">
{% if image %}
{% image image max-165x165 %}
{% image image max-165x165 class="show-transparency" %}
{% else %}
<img>
{% endif %}