Commit e5da94a6 authored by fred's avatar fred
Browse files

add width/height attributes for image in news small view

parent 56bbbce8
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
<div class="logo"> <div class="logo">
{% if class == "special" and content.image %} {% if class == "special" and content.image %}
<img class="normal" src="{{ content.image|thumbnail:'480x320' }}"/> <img class="normal" src="{{ content.image|thumbnail:'480x320' }}"/>
{% elif content.image %} {% elif content.image %}
<img class="left" src="{{ content.image|thumbnail:'60x60' }}"/> <img class="left" width="60" height="60" src="{{ content.image|thumbnail:'60x60' }}"/>
{% else %} {% else %}
<img class="left" width="60" height="60" src="{% static "img/actu.png" %}"/> <img class="left" width="60" height="60" src="{% static "img/actu.png" %}"/>
{% endif %} {% endif %}
......
Supports Markdown
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