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
Joshua Morgan
7,077 PointsI'm trying to substitute my own photos in How To Make A Website, but it says my photo isn't found on the server. Help?
I added my pics to the img file, and just subbed their file names into the <image src> and <a href> tags. I didn't touch anything but the file name, so they code should be good since it works with Nick's files. When i reload the project, my pic shows as a tiny questions mark. When i click the link, it says the file can't be found on the server. What am I doing wrong?
4 Answers
Julian Aramburu
11,368 PointsHi Joshua! Some problems when uploading the photos in the workspace could be size or resolution , try making both smaller and then try uploading them to your workspace again and refresh your page!
Joshua Morgan
7,077 PointsAwesome! I did resize them to 1024x768 in a graphic converter app before uploading, but maybe I didn't do it properly or I need to make them smaller. If there is a better suited resolution, let me know! Thanks for the reply.
Joshua Morgan
7,077 PointsWell, I uploaded the photo much smaller (240x320, 72 dpi) and it still doesn't work. I uploaded them from my desktop using the drag and drop method from the video. I put them in the same folder we used in the video, so the <img src="img/ section shouldn't change. I'm still getting" image not found in this directory" message when I click the link. Do I need to do anything different for the upload? Or is the code sensitive to capitalization in the file name?
Joshua Morgan
7,077 PointsThis appears to be solved! Thanks for your answers, even if you haven't given them yet!