Commit e5da94a6 authored by fred's avatar fred
Browse files

add width/height attributes for image in news small view

parent 56bbbce8
......@@ -11,7 +11,7 @@
{% 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' }}"/>
<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 %}
......
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