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

General Discussion

How do you add images to a text editor?

It's very easy to add images to workspaces, but I would rather use a text editor like Sublime Text to follow along.

However when I drag images from a folder to Sublime Text, all I get is numbers, and the images don't show up in the browser.

Any suggestions?

1 Answer

This varies according to the text editor you are using. If you mean being able to drag an image into the editor window and it automatically creates the img tag for you, seems like this is missing in Sublime (thought a much sought after feature): https://sublimetext.userecho.com/topic/50583-drag-images-into-editor-to-insert-path-or-img-tag/

I see. I thought that you couldn't drag images into any text editor apart from workspaces.

Thank you very much for the reply.