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