This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

458 points
51f8e6ecabf8212a8700209c_437191405
Submitted by
LeslieOrchard
almost 4 years ago

Adding images

I am a bit confused as to what file path I should be using to point to my locally saved images. I have a folder of images for each project which will eventually be published, but how does this work in the meantime, for instance when I send an assignment off for grading. The files are no longer accessible on my drive????? Think I am missing something basic, but cannot grasp it. Any advice would be greatly appreciated.


1 vote

permalink

Seems like nobody answered yet.
If you want to use an image anywere online or direct someone to it, you should upload this image first using either an upload site or the webserver you're using.

Some image upload sites:

http://postimage.org/
http://tinypic.com/
http://imageshack.us/

1521 points
56059c50d3292f8e7a00064f_684478859
Submitted by
Sarah
almost 4 years ago


1 vote

permalink

Try this:

<!DOCTYPE html>
<html>
    <head>
        <title></title>
    </head>
    <body>
        <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
    </body>
    <body>
    <img src="http://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg" />
    </body>
</html>

642 points
5793e37558212240e90003fd_774329516
Submitted by
iiRosie1
over 2 years ago


0 votes

permalink

If you have posted this in the right place, you are just looking for a link from anywhere, be it a Google search or anywhere you can get a link.

Like the above commenter said, if you want to use your own image, you will have to upload it to one of those upload sites.

63 points
D47422d1fc453f86029665a38065aa1b?s=140&d=retro
Submitted by
Ryan Bowers
almost 4 years ago


-2 votes

permalink

Try this code:

<!DOCTYPE html>
<html>
    <head>
        <title></title>
    </head>
    <body>
        <img src="http://www.picturescaption.com/wp-content/uploads/animal-funny-cat-pictures-with-captions-2-48-funny-cat-pictures-with-captions.jpg" />
        <img src="http://www.picturescaption.com/wp-content/uploads/animal-funny-cat-pictures-with-captions-8-48-funny-cat-pictures-with-captions.jpg" />
    </body>
</html>

990 points
5406b93f548c3592e0000bf4_438192580
Submitted by
Cousins
almost 4 years ago