mirror of
https://github.com/FAUSheppy/python-flask-picture-factory
synced 2025-12-06 07:01:37 +01:00
fix: remove background for normal images
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user