如何通过安全过滤器渲染图像

时间:2018-08-16 13:41:15

标签: html django python-3.x

就像我说的那样,我需要能够渲染类似...的图像

<img src="{% static 'forum/img/Confucius.png' %}" class="responsive-img" style='max-height:200px;' alt="face">

静态文件中的所有其他内容(例如字体)都可以使用,但是安全过滤器无法呈现图像。 我该怎么办?

0 个答案:

没有答案