This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by LeslieOrchard
over 10 years

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.

Answer 52821e99abf8211ec10028c6

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/

points
Submitted by Sarah
over 10 years

Answer 5521559793767622e20005b4

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>
points
Submitted by iiRosie1
about 9 years

Answer 528e1b84abf8213571003504

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.

points
Submitted by Ryan Bowers
over 10 years

Answer 5298f24580ff33a1ef00976d

-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>
points
Submitted by Cousins
over 10 years