Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Flask Basics Character Builder Items

Christopher Stuart
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Christopher Stuart
Full Stack JavaScript Techdegree Graduate 27,771 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,702 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?