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

HTML

i uploaded my image in workspace and its not working

when i uploaded my pic in html and saved it and its not showing my pic to web site

Thomas Fildes
Thomas Fildes
22,687 Points

Is the image in your file tree on the left hand side? Otherwise, the common mistake is that the file path has been specified wrong in the img src attribute.

3 Answers

Can you show us your code so we can see if there is a small error?? That is usually the problem.

<img src="hooo.jpg" alt="omer">

img name is hooo.JPG

Is this In a image file? You have to reference where to grab the image from. Where in the file tree is your Image located?

Like if your image file is in a file folder called img and then you need to write <img src="img/hooo.jpg">.

Am I making sense??

my mistake was my image name is hooo.JPG JPG was in the capital and in code <img src="img/hooo.jpg"> JPG in small

Yeah it usually is the simple uppercase and lowercase error. Glad I could help you out!!