Answers for "load image in python flask"

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

Python Answers by Framework

Browse Popular Code Answers by Language