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

kayode oyedeji
PLUS
kayode oyedeji
Courses Plus Student 7,988 Points

bracket io

hello guys, i just started using bracket io and its very interesting to use due to is cool features. but i am having problem adding images to my projects and this is really giving me alot of headache, i've tried both jpg and png format which is still the same and have also tried include my image format and nothing is happening. I will like someone to please help me on how i can add images to my bracket io. Thanks

Julien riera
Julien riera
14,665 Points

Hello,

I do use Brackets (the text editor), I don't really understand your issue here. What kind of projects are you talking about.

kayode oyedeji
kayode oyedeji
Courses Plus Student 7,988 Points

hi julien, i am trying to add image to a web page with bracket "txt editor" and its not working
<img src="img/kay5.jpg"> <img src="kay5.jpg">

kayode oyedeji
kayode oyedeji
Courses Plus Student 7,988 Points

hi julien, i am trying to add image to a web page with bracket "txt editor" and its not working
<img src="img/kay5.jpg"> <img src="kay5.jpg">

kayode oyedeji
kayode oyedeji
Courses Plus Student 7,988 Points

hi julien, i am trying to add image to a web page with bracket "txt editor" and its not working
<img src="img/kay5.jpg"> <img src="kay5.jpg">

5 Answers

Alex Watts
Alex Watts
8,396 Points

Hello Kayode,

I am assuming that you have placed your image into a folder called 'img'. Many issues occur when you do not correctly specify a path to an image. Carefully check the path and if the location of your image is correct.

Hope this helps :)

kayode oyedeji
kayode oyedeji
Courses Plus Student 7,988 Points

hello i created an image folder but the image wont even save in the folder and i have tried a couple of time. i have tried drag the image into a folder but not working still. how do i save an image into a folder on bracket? pls.

Alex Watts
Alex Watts
8,396 Points

You will have to save the necessary images onto your computer and into your files. After, refresh brackets and the images should appear in the folder directory. If not try closing brackets and restarting it.

Julien riera
Julien riera
14,665 Points

Yeah,

To find your files in Bracket, you simply need to create/put them in a folder you specify, which you can drag into Brackets, if you wish so.

For instance,

You create a "website" folder on your desktop. Inside you create your index.html and main.css files (via a new document creation or via a "save as ..." from Brackets), then you create your "img" folder and copy/paste your images in it.

Eventually, your tag will normally look like : <img src="img/your-image.jpg" alt="">

I hope this will make you figure it out !

kayode oyedeji
PLUS
kayode oyedeji
Courses Plus Student 7,988 Points

its working now! Thank you so much for your help guys especially Alex watts. you guys have been so wonderful. i didn't save the image properly on my computer. I just wish machines can be a little bit nice sometime and ignore simple errors lol

Alex Watts
Alex Watts
8,396 Points

Glad you got it sorted!