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

HTML How to Make a Website Adding Pages to a Website Add Iconography

Nicholas Theisen
Nicholas Theisen
1,330 Points

Image hosting

im using Atom instead of workspace. how do i get these images to render. I figured it out with the gallery but cant figure it out with this step. (you cant upload images to Atom because its just a text editor.)

2 Answers

Hey Nicholas,

When you are using your own text editor, you have to tell the text editor where to find the image. You can do this by typing in the path on your computer to find the images. For example, when you type an image tag, you would have to do something like this:

<img src="some-folder/the-image-you-want-to-put-in.png>"

If you have anymore questions, feel free to reply!

Nicholas Theisen
Nicholas Theisen
1,330 Points

Hey Tyler, thank you for your response! so the line i'm trying to put the image in is background-image. Rather than just trying to render the image period. I know if the image was online I could use background-image: url(../blahblah.png) but I don't have the image on a hosting site. is there a way to use my local image with background image, I know this wouldn't be the ideal way to do it because on a live site the photo wouldn't render.

Nicholas Theisen
Nicholas Theisen
1,330 Points

ended up just using images hosted on another site instead. thanks!