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 Build an Interactive Website Google Maps Integration Adding Static Maps

2 Answers

Ryan Neese
Ryan Neese
5,027 Points

if you're using an absolute link from the web, your tag should be formatted like this <img src="http://www.example.com/image.jpg">

the url of the image you want to use should be in the quotes. make sure the url links directly to the image and not a website containing the image.

Frankie Guerra
Frankie Guerra
3,739 Points

A fast way to obtain the URL for the picture on the internet is to (on a windows pc), right click and select "copy image url" because they are usually extremely long. Use an absolute link vs a relative one. Remember absolute is for pictures outside of your own website. Relative is for images stored on your own website. An example of as absolute link is below. <img src="http://www.domain.com/images/zpicture.jpg">