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 Creating HTML Content Structure the Image Gallery

Antony Gabagul
Antony Gabagul
9,351 Points

Can't upload image via Atom editor

Hello Instead of Workspace I'm currently trying to use Atom text editor while coding. I have a hard time trying to upload a picture. Anyone has idea how to get images in html outside of Workspace? Thanks

3 Answers

Muhamed Asil
Muhamed Asil
7,453 Points

Be sure that image in the correct source (src). like your images inside the (img) file as workspaces. this's one of the common mistake.

Antony Gabagul
Antony Gabagul
9,351 Points

If I have img file on my desktop, what should I put in <img source="?"...

Muhamed Asil
Muhamed Asil
7,453 Points

if you have the image folder named (img) and index.html in the same palace you should type.

<img src="img/imageName.jpg"/>
Antony Gabagul
Antony Gabagul
9,351 Points

I've figured my error I've been writing "<img source = "..."> instead of <img src = "..."> Thanks anyways

Antony Gabagul
Antony Gabagul
9,351 Points

I've figured my error I've been writing "<img source = "..."> instead of <img src = "..."> Thanks anyways