fix: remove background for normal images

This commit is contained in:
2023-06-27 16:07:35 +02:00
parent 1262bf0b9e
commit 902518c2cd

View File

@@ -25,7 +25,7 @@
{% if isPictureDict[path] %} {% if isPictureDict[path] %}
<a href="/m/{{ path }}" style="display: inline-block; float: left; margin: 5px;"> <a href="/m/{{ path }}" style="display: inline-block; float: left; margin: 5px;">
<img alt="{{ path }}" src="/m/{{ path }}?encoding=webp&x=250" <img alt="{{ path }}" src="/m/{{ path }}?encoding=webp&x=250"
style="max-width: 250px; max-heigh: 250px; overflow: hidden; background: red;"> style="max-width: 250px; max-heigh: 250px; overflow: hidden;">
</img> </img>
</a> </a>
{% else %} {% else %}