In flask, html file are served from the 'templates' folder by default and all the static file; images, css, js, etc are served from the 'static' folder. Make a static folder in a root directory and just link the images in the html correctly, it will surely work!
How can I use flask to add two numbers and display the results?
Check this out: github.com/sid86-dev/flask-tutoria...
Thank you
Hi, Am struggling to insert an image on html for the web page with the use of flask.... I keep getting errors...
Please help
In flask, html file are served from the 'templates' folder by default and all the static file; images, css, js, etc are served from the 'static' folder. Make a static folder in a root directory and just link the images in the html correctly, it will surely work!
Check here for reference: github.com/sid86-dev/flask-tutoria...
Thanks