Skip to content
Snippets Groups Projects
Commit b45c10fe authored by TonyFord's avatar TonyFord
Browse files

bugfix

parent 3eb6ecaa
No related branches found
No related tags found
No related merge requests found
......@@ -34,17 +34,7 @@
<div class="orderlist-date">
<div class="image"><small>{{ site.data.orderbook-update | map: peer[0] | map: 'time' }}</small>
{% assign P = o.image | imagesize %}{% assign Ps = P | size %}
{% if Ps == 2 %}
{% assign px = P[0] | times: P[1] %}
{% if px < site.px_max %}
<img src="{{ o.image }}">
{% else %}
image too large! (max: {{ site.px_max | decimals | divided_by: 1000000 | decimals }}Mpx )
{% endif %}
{% else %}
{% endif %}
{% if o.image %}<img src="{{ o.image }}">{% endif %}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment