0

At line 74 I added static/assets/images/work01-hover.jpg

enter image description here

But when I run file Image does not work out. In developer tools, I found out it does not found the image work01-hover.jpg. How to recover this?

enter image description here

Barbora
  • 921
  • 1
  • 6
  • 11
Faizul
  • 15
  • 5
  • You can try this. `../static/assets/images/work01-hover.jpg` Also another image file not error? – Minwoo Kim Jul 29 '20 at 16:27
  • still doesn’t work – Faizul Jul 29 '20 at 16:30
  • I think `work01-hover.jpg`, `work02-hover.jpg`, `work03-hover.jpg` file `404 NOT FOUND`. Any typos in the source code? – Minwoo Kim Jul 29 '20 at 16:33
  • You can try this. `/static/assets/images/work01-hover.jpg` – Minwoo Kim Jul 29 '20 at 16:35
  • Yes. This works. Should I apply this to templates also? – Faizul Jul 29 '20 at 16:49
  • Yes, maybe you need. Also you can reference this article [Reference article](https://stackoverflow.com/questions/28207761/where-does-flask-look-for-image-files). This article more useful in your problem situation. If your problem is solved, please check the useful answer. – Minwoo Kim Jul 29 '20 at 16:56

0 Answers0