# Save new image in ignition image management by python

**URL:** <https://forum.inductiveautomation.com/t/save-new-image-in-ignition-image-management-by-python/55968>\
**Category:** Ignition Early Access\
**Created:** [February 10, 2022, 8:00am UTC](https://forum.inductiveautomation.com/t/save-new-image-in-ignition-image-management-by-python/55968 "2022-02-10T08:00:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [February 10, 2022, 8:00am UTC](https://forum.inductiveautomation.com/t/save-new-image-in-ignition-image-management-by-python/55968/1 "2022-02-10T08:00:11Z")

</div>

Hi

I’d like to how to save new images in image management system of ignition in python.

Thnaks for any help.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 10, 2022, 9:00am UTC](https://forum.inductiveautomation.com/t/save-new-image-in-ignition-image-management-by-python/55968/2 "2022-02-10T09:00:35Z")

</div>

Im able to create a new folder with  
[https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.12/com/inductiveautomation/ignition/gateway/images/ImageManager.html](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.12/com/inductiveautomation/ignition/gateway/images/ImageManager.html)

I dont immediatly find the correct path to copy an image to it tho

```auto
	from com.inductiveautomation.ignition.gateway import IgnitionGateway	
	IgnitionGateway.get().getImageManager().insertImageFolder("MyNewFolder",None)

```

---

<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:** [February 10, 2022, 5:22pm UTC](https://forum.inductiveautomation.com/t/save-new-image-in-ignition-image-management-by-python/55968/3 "2022-02-10T17:22:33Z")

</div>

> [@How to save the uploaded file in default image folder (/system/images/)?](https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771/2):
>
> 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 …

ImageManager is the way to go, but it's going to be complicated.
