Skip to content

Commit

Permalink
Update cms/plugins/picture/templates/cms/plugins/picture.html
Browse files Browse the repository at this point in the history
Using width and height tags
  • Loading branch information
mkoistinen committed Nov 16, 2012
1 parent 3e9a61a commit 244a613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/plugins/picture/templates/cms/plugins/picture.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<span class="plugin_picture{% if picture.float %} align-{{ picture.float }}{% endif %}">
{% if link %}<a href="{{ link }}">{% endif %}
<img src="{{ picture.image.url }}" alt="{{ picture.alt }}"{% if picture.longdesc %} title="{{ picture.longdesc }}"{% endif %} />
<img src="{{ picture.image.url }}" width="{{ picture.width }}" height="{{ picture.height }}" alt="{{ picture.alt }}"{% if picture.longdesc %} title="{{ picture.longdesc }}"{% endif %} />
{% if link %}</a>{% endif %}
</span>

0 comments on commit 244a613

Please sign in to comment.