I am trying to load images into a bootstrap carousel and the problem I am having is that the img src tag doesn't
seem to be finding my pictures and I am stumped as to why this is happening. In my project, I use flask to render an html file inside a folder called templates.
This is the html inside my templates.
This is my demo.py file which contains the code to start flask
The actual command I am using is env FLASK_APP=demo.py flask run
This is what it looks like in my project directory
And the error I get when I go to port 5000 is
127.0.0.1 - - [01/Oct/2019 22:18:25] "GET /img/vacation2.jpg HTTP/1.1" 404 -
What am I doing wrong?
Recently Asked Questions
- Why is data security important now more than ever? What are some of the steps that we can take to ensure that our database is protected and secure? How can you
- What are some of the types of navigation that you can create in Access 2016? How should we approach the design of the menu?
- True or false: is equal to (Discreet Mathematics, HW7, q6).