Hello
I would like to create a dynamic slide show in my app from images taken with the cam.
I already store the images in a subfolder of the system.DocumentsDirectory
however…filling a rectange with
object.fill = { type=“image”, filename=“corona-logo.png” }
works fine as long as the image is in the root or a subfoder of the system. ResourceDirectory , but i can’t get it to work to take images from the system. DocumentsDirectory.
Already tried a lot of things like
filename = system.pathForFile( “slideshow01.jpg” , system. DocumentsDirectory )
filename = system.pathForFile( “slideshow01.jpg” , system. TemporaryDirectory )
filename = system.pathForFile( “/subfolder/slideshow01.jpg” , system. DocumentsDirectory )
no success at all !!!
any ideas how to fill an object with an image which is NOT located in the ResourceDirectory ???
Thx in advance
Andreas