Commit fee7aacc authored by fred's avatar fred
Browse files

also mention image width for soundfile thumbnails

parent dd3ff1b6
......@@ -2,9 +2,9 @@
<div class="episode soundfile inline cf">
<div class="logo">
{% if soundfile.episode.image %}
<img src="{{ soundfile.episode.image|thumbnail:'60x60' }}"/>
<img width="60" height="60" src="{{ soundfile.episode.image|thumbnail:'60x60' }}"/>
{% elif soundfile.episode.emission.image %}
<img src="{{ soundfile.episode.emission.image|thumbnail:'60x60' }}"/>
<img width="60" height="60" src="{{ soundfile.episode.emission.image|thumbnail:'60x60' }}"/>
{% else %}
<img width="60" height="60" src="{% static "img/sound.png" %}"/>
{% endif %}
......
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