Image asset to storage

this is the path to the assets for the webviewer component

use the file extension together with the Copy method…


protip: read the documentation there to find out, that you have to use 2 slashes to access a file from the assets, for example //myFile.jpg

Taifun

3 Likes

thank yousir

1600091371590
is it right ?

it is not work

Your assets file path is wrong
As @Taifun said

Try

vv.png this image in my assets,

please write full path with my image

Well you can see here how to copy file from assets to storage,

So for example your assets file path is //vv.png ( for apk only ) @bangladesh_firoz
Hope it helps :slightly_smiling_face:

it is no work

i triyed

Can you send your blocks ? Make sure you are testing in apk and not companion
For companion use : file:///mnt/sdcard/Makeroid/assets/

1600092616411

Are you testing in companion?

yes, in companion?

So you need to try this path

For example file:///mnt/sdcard/Makeroid/assets/vv.png
That’s for companion only.Apk is

And btw, you can make it using an if then return block:
if is companion
return file:///mnt/sdcard/Makeroid/assets/vv.png
else retrun //vv.png
Hope it helps :slightly_smiling_face:

1 Like

thank you for help

1 Like

you’re welcome :slightly_smiling_face: Is it working now :thinking:

How about. We use storage emulate on path

I think it will work as well.

please wait, i will tell you after checking

2 Likes

it worked as well.

but after coped this block is not work

1600093920444

Great

Strange :face_with_raised_eyebrow: are you sure it isn’t working?

yes
i triyed in companion