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

Sublime 3 image

I'm trying to load my image on my website but when I view it all I see is a little small photo next to the alt that I typed in. I will post a image of my code but I checked on wc3 school and I feel like I'm doing it right also, I'm currently working on the front end track and this is just practice so yeah

        <main>
            <h2>About Me</h2>
            <img src="old_pic.jpg" alt="A picture of me looking sharp">
        </main>

You need to include the path to the file location in your 'src' attribute. I'm assuming it's not saved in the same directory as your html file.

I agree with T.J. Ruggles , it seems like you have probably saved your image in another folder different to where your HTML code is, so you have not provided a relative path to that folder where your image is found when you used the <img src="">.