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 @@
<div class="logo">
{% if class == "special" and content.image %}
<img class="normal" src="{{ content.image|thumbnail:'480x320' }}"/>
{% elif content.image %}
<img class="left" src="{{ content.image|thumbnail:'60x60' }}"/>
{% elif content.image %}
<img class="left" width="60" height="60" src="{{ content.image|thumbnail:'60x60' }}"/>
{% else %}
<img class="left" width="60" height="60" src="{% static "img/actu.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