如果出现image无法加载
但是直接复制链接能在网页上访问
时,可优先完整URL。
<img src="{{ url_for('static',filename = 'user_detect_img/response.jpg')}}" alt=""
width="80" >
改为:
<img src="http://127.0.0.1:5000/static/user_detect_img/response.jpg" alt=""
width="80" >
即可正常显示