image sizes
This commit is contained in:
parent
21647a0044
commit
587b59b273
|
@ -3,7 +3,7 @@
|
|||
{% for s in stories %}
|
||||
<span class="orange">Story: </span><span class="ifInfoInfo">{{ s.text }}</span>
|
||||
{% if s.image %}
|
||||
{% thumbnail s.image "100x100" crop="center" as im %}
|
||||
{% thumbnail s.image "164x114" crop="center" as im %}
|
||||
<img class="itfInfoImg" src="{{ im.url }}" />
|
||||
{% endthumbnail %}
|
||||
{% endif %}
|
||||
|
@ -11,7 +11,7 @@
|
|||
{% endfor %}
|
||||
<span class="orange">Law: </span><span class="itfInfoInfo">{{ law }}</span>
|
||||
{% if law_image %}
|
||||
{% thumbnail law_image "100x100" crop="center" as im %}
|
||||
{% thumbnail law_image "164x114" crop="center" as im %}
|
||||
<img class="itfInfoImg" src="{{ im.url }}" />
|
||||
{% endthumbnail %}
|
||||
{% endif %}
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
<div class="thumbsGallery">
|
||||
{% for img in images %}
|
||||
{% thumbnail img.image "100x100" crop="center" as im %}
|
||||
{% thumbnail img.image "164x114" crop="center" as im %}
|
||||
<img src="{{ im.url }}" class="thumbsDetails" data-bigimage="/static/{{ img.url }}"/>
|
||||
{% endthumbnail %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user