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 trialAbhishek Patil
3,329 PointsBlue Question Mark
The image doesn't load in the preview page, rather than an image a blue question mark appears at the place of the image.
3 Answers
Riki Montgomery
9,803 PointsOkay, did you put all 3 of the jpg files in an img folder and make sure that you didn't accidentally put that img folder in any other folders? img/featured.jpg is the route that the computer follows to find the image. If it's not finding the image, then the images or the img folder may not be in the right place.
Riki Montgomery
9,803 PointsHi A Patil,
The more information you can give us, the easier it is to diagnose an issue. Would you please copy and paste the line of code you wrote so that we can see it? I suspect you just misspelled something. I got the same issue when I spelled "featured.jpg" wrong.
Didn't Work
<img src="img/feature.jpg">
Worked
<img src="img/featured.jpg">
Abhishek Patil
3,329 Points<img src="img/featured.jpg">
Hello Riki Montgomery, this is what my code looks like, I'm still not able to solve this problem.
Riki Montgomery
9,803 PointsNo problem. You're doing great. Good luck!
P.S. Please upvote my answer if you can. Thanks!
Abhishek Patil
3,329 PointsAbhishek Patil
3,329 Pointsoh Yeah! That was the mistake I made, I had accidentally put the img folder inside the articles folder, that's why the images weren't loading. Thank you so much Riki Montgomery I really appreciate your help!