# How to save the uploaded file in default image folder (/system/images/)?

**URL:** <https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [March 3, 2020, 3:47pm UTC](https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771 "2020-03-03T15:47:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 3, 2020, 4:03pm UTC](https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771/2 "2020-03-03T16:03:29Z")

</div>

This won’t work the way you’re expecting it to. The `/system/images/` route handler isn’t attached to an actual folder in the gateway install directory - it’s handled entirely in code, and retrieves images from the internal database. If you want to manually upload images, you’ll need to get a reference to the `ImageManager` on the gateway and call `insertImage` manually, filling in all the appropriate fields:  
[`com.inductiveautomation.ignition.gateway.images.ImageManager#insertImage`](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/com/inductiveautomation/ignition/gateway/images/ImageManager.html#insertImage-java.lang.String-java.lang.String-com.inductiveautomation.ignition.gateway.images.ImageFormat-java.lang.String-byte:A-int-int-int-). Actually doing so is unsupported, so you’re entirely on your own to figure out the details. Some searching on the forum should tell you how to get the `GatewayContext` class, from which you can `getImageManager`.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771)._
