# Ignition images: http://localhost/imagename

**URL:** <https://forum.inductiveautomation.com/t/ignition-images-http-localhost-imagename/32288>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [February 14, 2020, 6:47pm UTC](https://forum.inductiveautomation.com/t/ignition-images-http-localhost-imagename/32288 "2020-02-14T18:47:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![csanyia](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@csanyia](https://forum.inductiveautomation.com/u/csanyia)\
**Post date:** [February 14, 2020, 6:47pm UTC](https://forum.inductiveautomation.com/t/ignition-images-http-localhost-imagename/32288/1 "2020-02-14T18:47:36Z")

</div>

I have a ton of images that i use with ignition, setting the file path appears to be using my PC to utilize.

I installed a webserver on the ignition server and would effectively like to use it as an image repository that is not accessible from the internet.

Is there a way to set the filepath on images to [http://localhost/](http://localhost/), simliar to builtin.

If there wasn’t 1000s of images, I’d use the builtin feature.

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [February 14, 2020, 7:37pm UTC](https://forum.inductiveautomation.com/t/ignition-images-http-localhost-imagename/32288/2 "2020-02-14T19:37:49Z")

</div>

Yes, if I understand you correctly you can place your images or folder of images inside the install directory of the gateway inside of `<install_directory>/webserver/webapps/main` and after a gateway restart they are hosted at `http://localhost:8088/<path_to_image>` and don’t forget to include the image extension in the path (ie. the .jpg, .png, etc)

---

<div class="post-metadata">

**Author:** ![csanyia](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@csanyia](https://forum.inductiveautomation.com/u/csanyia)\
**Post date:** [February 14, 2020, 11:40pm UTC](https://forum.inductiveautomation.com/t/ignition-images-http-localhost-imagename/32288/3 "2020-02-14T23:40:31Z")

</div>

Placing files in that path does allow my webbrowser to access the filename.jpg, but localhost won’t work from within ignition, i still need to define an external IP

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [February 15, 2020, 12:02am UTC](https://forum.inductiveautomation.com/t/ignition-images-http-localhost-imagename/32288/4 "2020-02-15T00:02:44Z")

</div>

Can you give me an example? Are you using this on an image component on Vision or Perspective? Also, when you have a session/client opened are they on the same system as the gateway since that’s the only time localhost should work?
