Image asset to storage

how to save image from asset to storage

Hi @bangladesh_firoz,
You can use the copy block in the file tools extension to copy from the assets path to the storage path.
Edit : that wasn’t the right path.Thanks @Taifun
Storage path: file:///mnt/sdcard/

1 Like

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



thank yousir

is it right ?

it is not work

Your assets file path is wrong
As @Taifun said


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/


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


it worked as well.

but after coped this block is not work