我正在尝试使用绝对/相对路径将pdf文件显示为html中的幻灯片
<div class="container">
<iframe src="file:\\network\path\files\22663\40052.pdf" width="100%" height="500px"></iframe>
</div>
上面的代码没有显示任何内容?任何想法 ?
如果您使用的是长颈瓶,那么将pdf转换为jpg并从静态文件夹中进行输入会很容易
@app.route('/')
def home():
pics = os.listdir('static/images/')
return render_template("servebird.html", pics=pics)
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句