将数据库内的base64编码更换为了URL

This commit is contained in:
MarkusJoe
2022-04-16 11:27:24 +08:00
parent 87bfca82d1
commit f5e753fa72
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@
<g>
{% for value in context %}
<image x="{{ value.position }}" y="0" width="{{ value.width }}" height="{{ value.height }}"
xlink:href="{{ value.base64 }}"></image>
xlink:href="{{ value.url }}"></image>
{% endfor %}
</g>
</svg>

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 480 B