Commit 948580c1 by benjaoming

image plugin thumbnail css

parent da15d5dd
......@@ -3,8 +3,8 @@
NB! Watch out for line breaks, markdown might add <br />s and <p>s.
{% endcomment %}{% with image.current_revision.imagerevision as revision %}{% spaceless %}
<div style="width: 250px;"{% if align %}class="pull-{{ align }}"{% endif %}>
<div class="thumbnail">
<div>
<div class="thumbnail{% if align %} pull-{{ align }}{% endif %}" style="width: 250px;">
{% thumbnail revision.image "250x250" as thumb %}
<a href="{{ revision.image.url }}">
<img src="{{ thumb.url }}" alt="{{ revision.get_filename }}" />
......
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