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 trialchester naguit
406 Pointsimg=src
hi, how can point my img=src folder to my image saved in my DT folder? im using sublime txtpad.. thanks!!
4 Answers
Diane Houghton
5,773 PointsTry
<img src="imagefolder/imagename.jpg" />
using the name of the folder for "imagefolder" and the name of the image for "imagename" This assumes that your images are in a folder that lives in the same folder as your index.html page.
chester naguit
406 Pointsok.. I tried that but no luck, the folder is in my desk top this how I wrote it <img src="desktop/folder1/img#>
Diane Houghton
5,773 Pointsthen you probably have to go up a level depending on where your html files are located. Go up a level like this:
../imagefolder/imagename.jpg
chester naguit
406 Pointsok.. do I have to download the image folder to sublime text pad to see it or doesn't really matter if I have it on my desktop saved.. also where can I get a cheap webhosting .. thanks!!!