Commit dd3ff1b6 authored by fred's avatar fred
Browse files

mention thumbnails image dimensions

parent 66dd94a5
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
<a class="block" href="{% url 'emission-view' slug=emission.slug %}"> <a class="block" href="{% url 'emission-view' slug=emission.slug %}">
<div class="logo left"> <div class="logo left">
{% if emission.image %} {% if emission.image %}
<img src="{{ emission.image|thumbnail:'60x60' }}"/> <img width="60" height="60" src="{{ emission.image|thumbnail:'60x60' }}"/>
{% else %} {% else %}
<img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/> <img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
{% endif %} {% endif %}
</div> </div>
<div class="title"> <div class="title">
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
<div class="logo"> <div class="logo">
<a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}"> <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">
{% if model = "inline" and episode.image %} {% if model = "inline" and episode.image %}
<img src="{{ episode.image|thumbnail:'60x60' }}"/> <img width="60" height="60" src="{{ episode.image|thumbnail:'60x60' }}"/>
{% elif model = "inline" and episode.emission.image %} {% elif model = "inline" and episode.emission.image %}
<img src="{{ episode.emission.image|thumbnail:'60x60' }}"/> <img width="60" height="60" src="{{ episode.emission.image|thumbnail:'60x60' }}"/>
{% elif model = "inline" %} {% elif model = "inline" %}
<img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/> <img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
{% elif episode.image %} {% elif episode.image %}
......
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