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
Deborah Williamson
2,997 Pointsimage wont appear
I've asked about this question twice now and none of the suggestions work. I still can't see the images even though my code is correct
13 Answers
Deborah Williamson
2,997 PointsI figured out the problem. Firefox wouldn't display the images. I switched to Opera and everything is working perfectly.
Andrew Shook
31,709 PointsDeborah, are you keeping you images in the same directory as you html file or are you putting all your images in an image folder. If you have them in an image folder then your image's src should look something like this:
<img src="images/numbers-01.jpg" />
Deborah Williamson
2,997 Pointssigh. I tired your suggestion. It still wont work. All i see now are icons that look like shredded paper
Rostislav Kavan
6,818 PointsShredder paper icon means the source (src) to images is wrong.
Is your menu working properly?
Then, are your images situated in the root folder? Meaning, the same level as your index.html and the other two files.
Or are they in another folder?
Deborah Williamson
2,997 PointsYes, they're in the root folder. I even tried moving one of the pictures to a new folder to see if it would make a difference and yet it still wont work
Rostislav Kavan
6,818 PointsSomething must be wrong with the naming then.
Do your actual image files contain capital case letters? Sometimes you might have .JPG instead of .jpg or maybe jpeg.
Deborah Williamson
2,997 PointsAre you talking about actual desktop folder? Because from what i can see none of them have .jpg/ .JPG/ .jpeg beside the names of the images
Rostislav Kavan
6,818 PointsI am talking about the file names now. Just to be sure that the file name correctly matches the value in SRC attribute.
Deborah Williamson
2,997 PointsOk...well... yes the image file names matches the value in the src attribute. both have lower case letters.
Rostislav Kavan
6,818 PointsWell, then unfortunately i dont know how to identify your problem.
Your code is correct, except the missing alt values.
The problem you are describing is either caused by wrong placement or naming of the images.
Deborah Williamson
2,997 PointsSigh. Thank you for your help anyway
Nick Pettit
Treehouse TeacherCan you take a screenshot of what your Workspace looks like? If we can see the directory tree along with the code, it might help identify if there's a problem with the image paths. You can upload a screenshot to imgur.com or use Dropbox and then post the link here.
Thanks!
Deborah Williamson
2,997 PointsDeborah Williamson
2,997 Points