Python Flask Html Image Display Help


This program will display the text in its html file, but will not display the image. Can you make it display the image, or tell me what I need to change?

Repl link:


Your Repl seems to be private. Could you provide code snippets or make it public? You can’t just use local image files in Flask (at least to my knowledge). You can put them in a static folder (static is its name :slight_smile: ) and access them at /static/image.png etc. Also I have moved this to Python since it’s a Python/Flask help question.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.