# Issue with Label Studio related to image file paths

**URL:** <https://community.labelstud.io/t/issue-with-label-studio-related-to-image-file-paths/230>\
**Category:** Label Studio Support\
**Created:** [June 3, 2024, 7:47pm UTC](https://community.labelstud.io/t/issue-with-label-studio-related-to-image-file-paths/230 "2024-06-03T19:47:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob\_Bergman](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/jacob_bergman/32/65_2.png) [@Jacob\_Bergman](https://community.labelstud.io/u/Jacob_Bergman)\
**Post date:** [June 3, 2024, 7:47pm UTC](https://community.labelstud.io/t/issue-with-label-studio-related-to-image-file-paths/230/1 "2024-06-03T19:47:31Z")

</div>

Hi!  
I’m encountering an issue with Label Studio related to image file paths. When I upload images from local storage, Label Studio adds a prefix to the image file paths. Consequently, when I export the tasks and try to load them into a different Label Studio server, it fails to find the images due to the prefix.

Has anyone experienced this before, or does anyone have suggestions on how to resolve this issue?

Thank you for your assistance!

---

<div class="post-metadata">

**Author:** ![sajarin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/sajarin/32/56_2.png) [@sajarin](https://community.labelstud.io/u/sajarin)\
**Post date:** [June 3, 2024, 8:15pm UTC](https://community.labelstud.io/t/issue-with-label-studio-related-to-image-file-paths/230/2 "2024-06-03T20:15:25Z")

</div>

Thanks for posting here Jacob.

Sorry to hear my suggestion in the slack about modifying the paths with script didn’t work.

Copying and pasting what I wrote from there: this is a known issue with the image paths and exporting/importing to a different server. We’d recommend using a form of cloud storage so that it’s easier to load them somewhere else.

Are you able to share the workaround script that updates the file prefixes according to their names upon upload?

---

<div class="post-metadata">

**Author:** ![Ahmad\_Arvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/ahmad_arvo/32/130_2.png) [@Ahmad\_Arvo](https://community.labelstud.io/u/Ahmad_Arvo)\
**Post date:** [August 20, 2024, 9:19am UTC](https://community.labelstud.io/t/issue-with-label-studio-related-to-image-file-paths/230/3 "2024-08-20T09:19:32Z")

</div>

I tried to connect my ml backend using docker but I got the following path issue.  
{“detail”:“InvalidSchema: No connection adapters were found for \”'[http://127.0.0.1:8080/'/data/upload/4/be70c9c8-cat\_and\_dog\_1.jpg\](http://127.0.0.1:8080/%5C'/data/upload/4/be70c9c8-cat_and_dog_1.jpg%5C%5C)“”,“request”:{},“result”:{“traceback”:“Traceback (most recent call last):\n File \”/opt/conda/lib/python3.9/site-packages/label\_studio\_ml/exceptions.py\"
