You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am a beginner with programming but seems to me that there is no way to put image files in the html?
I tried this but it's not working: @app.route('/images/<fn>') async def images(req, resp, fn): return render_template('/images/{}'.format(fn), content_type='image/jpeg')
I was wondering if at this point there's just no way to implement it?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I am a beginner with programming but seems to me that there is no way to put image files in the html?
I tried this but it's not working:
@app.route('/images/<fn>')
async def images(req, resp, fn):
return render_template('/images/{}'.format(fn),
content_type='image/jpeg')
I was wondering if at this point there's just no way to implement it?
Thanks!
The text was updated successfully, but these errors were encountered: