Python Flask Basics Character Builder Items

Christopher Stuart
Christopher Stuart
Full Stack JavaScript Techdegree Graduate 27,736 Points

Images for Choices Not Appearing

Issue with this step in that the small images are not appearing on the builder page. I even copied the final code from the downloads section and still not working.

When i view the src for the images---all have a "%20" inserted which i believe is causing the issue. When i remove this from the URL the images appear perfectly fine.

So like this: http://127.0.0.1:8000/static/img/shirts%20-pink.svg

any idea what might be causing this issue for me?

1 Answer

Chris Howell
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Chris Howell
Python Web Development Techdegree Graduate 49,488 Points

Somehow a space got in your url for that image, %20 is a url encoded space.

Is this project running on your local machine or do you have a running workspace of it that you can Share?

Christopher Stuart
Christopher Stuart
Full Stack JavaScript Techdegree Graduate 27,736 Points

hey Chris---yes that was it. saw the extra space, fixed it and everything looks good now. THANKS!