Question:
So I have this Flask webpage, which shows a few image files I have uploaded into my repl. However, when I use the <img src="....png">
tag, the image doesn’t show, but instead has a default picture sign.
However, it works on a default HTML repl.
Also, <img src="{{ session['pfp'] }}">
works, but <img src="{{ image_url }}">
doesn’t (might have to do with this:
)
Repl link:
I don’t want to send it as it’s meant to be private [1], but I can provide screenshots.
Screenshots:
In my directory:
I put it in my code:
Gives me this:
Happens when this is on other files as well. Even paths to other directories don’t work.
Help!!! PLEASE!!!
But I don’t have Private repls ↩︎