Answers for "how to display an image in flask with src"

3

how to add images in hml while using flask

<image src="{{url_for('static',filename = 'images/download.jpg')}}" >
<!--filename  = "path of your image in in static folder"-->
Posted by: Guest on June-07-2020
1

how to get images on flask page

<img src="{{url_for('static', filename='MD.png')}}">
Posted by: Guest on July-16-2020

Code answers related to "how to display an image in flask with src"

Python Answers by Framework

Browse Popular Code Answers by Language