# Adding images from your own files

**URL:** <https://forum.freecodecamp.org/t/adding-images-from-your-own-files/327597>\
**Category:** General\
**Created:** [November 23, 2019, 2:06pm UTC](https://forum.freecodecamp.org/t/adding-images-from-your-own-files/327597 "2019-11-23T14:06:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonheur](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bonheur](https://forum.freecodecamp.org/u/bonheur)\
**Post date:** [November 23, 2019, 2:06pm UTC](https://forum.freecodecamp.org/t/adding-images-from-your-own-files/327597/1 "2019-11-23T14:06:34Z")

</div>

How do you include an image that is in your own files and does not have an URL?

---

<div class="post-metadata">

**Author:** ![kristina\_v](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kristina_v/32/372311_2.png) [@kristina\_v](https://forum.freecodecamp.org/u/kristina_v)\
**Post date:** [November 23, 2019, 2:31pm UTC](https://forum.freecodecamp.org/t/adding-images-from-your-own-files/327597/3 "2019-11-23T14:31:13Z")

</div>

You can do that just like with regular URL, except you won’t start the absolute path with `https://...` but with `C:/...` or wherever the image is located on your hard drive. Or, you can use the relative path, which is even better 🙂 But mind you, only you will be able to see the image if it’s on your computer. If you upload your HTML to, say, CodePen, nobody else will see it. So this only works for testing purposes really 😅

If you have additional questions, feel free to ask or, as @camperextraordinaire said, tell us what you’ve tried or maybe give us a code sample so that we’ll be able to offer more detailed help 🙂

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 11:32am UTC](https://forum.freecodecamp.org/t/adding-images-from-your-own-files/327597/4 "2021-01-16T11:32:24Z")

</div>

Closed on January 16, 2021, 11:32am UTC


