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 trialAllison Hadland
Courses Plus Student 886 Pointspreview showing 'image not found'
Just followed the instructions on the video for uploading an image. Looks like I had to change my image source...
Treehouse explained to do this:
img src ="img/numbers-01.jpg" alt=""
However, my index.html wasn't finding the folder that the images were saved in. I had to alter my code to:
img src="HowToMakeAWebsite-Stage3-Video2/img/numbers-01.jpg" alt=""
Not quite sure why I had to do that and it didn't work. Maybe I uploaded my photos incorrectly - though it was just a drag and drop so slightly worried if I did that wrong!
Just wanted to post in case others were having the same issue...
2 Answers
Stone Preston
42,016 Pointsit looks like you dragged and dropped the entirety of the project files (so now you have a project inside your current project) , instead of just the image files. Here is a download link for a folder that contains just the images and nothing else.
Allison Hadland
Courses Plus Student 886 PointsAh! That would make sense. Thank you!