Ask coding questions

← Back to all posts
Why is my picture not showing up?
VulcanWM (2342)

So I've made a function where it makes a random code with 10 letters or numbers and then it makes a pic which is a black background with the letters. But when i add the picture to the website, the pic doesn't show and just shows the file icon.
The page where you are supposed to see the picture is:
Why is it not showing the pic?
And how can I fix it?

Answered by Coder100 (17111) [earned 5 cycles]
View Answer
Coder100 (17111)

anyways, all the images should be put in the static folder if that's what you are looking for.

Coder100 (17111)

you don't have a code.png route.