# Image Path

**URL:** <https://forums.fusetools.com/t/image-path/1599>\
**Category:** How-to Discussions\
**Created:** [March 30, 2016, 11:41am UTC](https://forums.fusetools.com/t/image-path/1599 "2016-03-30T11:41:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [March 30, 2016, 11:41am UTC](https://forums.fusetools.com/t/image-path/1599/1 "2016-03-30T11:41:45Z")

</div>

Something goes wrong with the path of the image! I don’t know from where this / came! How can I solve that ?

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/HwHcgCDmhASm-legacy-files-Mg8nwwFdgICPzf0v-Jn7SF8WLf0B2TS9M_i-Tg7Bj.png) ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/RE3GlYPadwDE-legacy-files-TlnlVT2q6q9Wq0gP-b3ptaISxdEVeIShZu2bArADd.png)

---

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [March 30, 2016, 12:11pm UTC](https://forums.fusetools.com/t/image-path/1599/2 "2016-03-30T12:11:02Z")

</div>

Also there are some images not work in IOS preview but it works in local preview

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/U9ZRQ5tVMBiN-legacy-files-4fxGhuNVQjg8lEBL-sYGpJ2Mt30OJAZ-YOVGF1WdG.PNG)

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [March 30, 2016, 12:47pm UTC](https://forums.fusetools.com/t/image-path/1599/3 "2016-03-30T12:47:25Z")

</div>

Hi!

Did you remember to include `Assets/*.png:Bundle` in your `.unoproj` ?

---

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [March 30, 2016, 1:07pm UTC](https://forums.fusetools.com/t/image-path/1599/4 "2016-03-30T13:07:10Z")

</div>

I don’t know how can I add it ? in which part and what is the format ?

---

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [March 30, 2016, 1:11pm UTC](https://forums.fusetools.com/t/image-path/1599/5 "2016-03-30T13:11:11Z")

</div>

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/rjLxjJ2Ms3ic-legacy-files-J1nsvQRgqvvi6yqX-zPOwMT6yDZWyzFdbL2BCw37E.png)

Is that correct?

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [March 30, 2016, 1:13pm UTC](https://forums.fusetools.com/t/image-path/1599/6 "2016-03-30T13:13:33Z")

</div>

You need a comma between.

```auto
"Includes": [
  "",
  "Assets/.png:Bundle"
]

```

---

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [March 30, 2016, 1:22pm UTC](https://forums.fusetools.com/t/image-path/1599/7 "2016-03-30T13:22:18Z")

</div>

Two Problems with image path?

1- when I used this code

function showcardFA() { cardFA.value = “Assets/FAtahadak”+Math.floor(Math.random() \*10)+".png";};

there is extra slash came in the beginning of the path when I run the app and this error appears

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/PwDQALgHVDJT-legacy-files-Tx9U0sYpEueLDaKK-2Ip11zPiOONw_fbFwIxu68cV.png)

2- In IOS preview the images not appear but it works in local preview

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/7BNUYlsVtCDK-legacy-files-RLCidolG2yFRVdBe-0RNiSmkkwM7M28Aj91bJ1UO9.PNG)

---

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [March 30, 2016, 1:28pm UTC](https://forums.fusetools.com/t/image-path/1599/8 "2016-03-30T13:28:57Z")

</div>

Thank you it works now , but how about the second one

the images not apeared in IOS preview ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/3EdyWvKuNFIj-legacy-files-zMLB3HuGE1AibyCe-9aH0GhdS389c1PlfG0diVwKD.PNG)

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [March 30, 2016, 1:33pm UTC](https://forums.fusetools.com/t/image-path/1599/9 "2016-03-30T13:33:27Z")

</div>

Alexa: it is a bit unclear to me whether your issue was resolved or not. if not, can you please describe the problem that remains?

---

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [March 30, 2016, 1:47pm UTC](https://forums.fusetools.com/t/image-path/1599/10 "2016-03-30T13:47:21Z")

</div>

I do have tow issues related to image path one of them is resolved. The one that not resolved yet, it is when I pressed the button to have an image it is appeared on local preview but it did not works on the IOS preview (on my Iphone) and this error showed on my Iphone

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/dS0LsFxsWXtm-legacy-files-YB69Iw9eMKMhPYBL-9MQbn6qDRKiAqbcYZeiqtAxJ.PNG)

and here is the Fuse monitor

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/NaenYWPkSDyE-legacy-files-OL9oDNnVgR3vzgPh-WSTzC8mUCaWGgbvBXM6gjl3U.png)

Thank you for usual support.

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [April 1, 2016, 9:52am UTC](https://forums.fusetools.com/t/image-path/1599/11 "2016-04-01T09:52:07Z")

</div>

Are you pointing to a file on your desktop? Unless the file is declared as `:Bundle` in your `.unoproj`, device preview won’t find it.

---

<div class="post-metadata">

**Author:** ![Alexa\_Connor](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Alexa\_Connor](https://forums.fusetools.com/u/Alexa_Connor)\
**Post date:** [April 1, 2016, 2:24pm UTC](https://forums.fusetools.com/t/image-path/1599/12 "2016-04-01T14:24:29Z")

</div>

The app code files and the file that I want to open in my desktop and still I’m not able to open it … Also the file “Assets” is declared as :Bundle in my .unoproj.

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/noo2m7GN63zA-legacy-files-s8ChOOvr5h41CyuX-wiiw3DEMnIJUqZZUw5nTNPD-.PNG)

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [April 11, 2016, 7:59am UTC](https://forums.fusetools.com/t/image-path/1599/13 "2016-04-11T07:59:23Z")

</div>

Can you please zip up your entire project and upload it to [https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK?](https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK?) Then it will be easier for us to tell you exactly what’s wrong. Files uploaded to that url can only be read by the Fuse team.
