Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,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,608 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?