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
Roy Eun
3,834 PointsDoing the "How to make a website" course and am having issues viewing my images during preview. Assistance appreciated!
Hi guys,
I double checked to make sure that my code is correct on the workspace, but the images are not loading when I go to preview. Anyone have any insight on this?
Roy Eun
3,834 PointsHey Chris,
Appreciate the feedback. I'll be sure to do that for my next question, but I figured out the answer on my own for this!
To answer my own question for any future commenter/readers:
My code was originally:
" <li.> <a href.="img/numbers-01.jpg"> <img src.="img/numbers-91.jpg" alt=""> <p Experimentation with color and texture. </p> </a.>"
(added some .'s behind the code to make sure it populates on the forum)
The reason why images were not coming up was because the images.jpg's I had in my workdoc space files were under the folder of "Img" and not "img". By capitalizing the img's in my index.html code, it fixed up the problem.
1 Answer
melo coton
Courses Plus Student 296 PointsHi Ron! Probably the problem is in the name of the img , when you drag your img from your computer to the image folder on your workspace and have a name something like this : DSC8029846_%$lionroars_09.jpg you must write it the same =S so i recommend you to modify before drag it to workspace in your images folder.
Chris Higgins
6,813 PointsChris Higgins
6,813 PointsEven though you believe your code is right. we are going to need you to post it here. you could have missed the slightest thing.