Reading images from a folder?

I wonder if it is possible to read images from a folder dynamically? Means, when I add or remove an image from the directory the code is noticing it and only read and works with the existing images.

Thx for your help!

Hi @c.noeth,

I think the LFS library will accomplish what you need:

https://docs.coronalabs.com/api/library/lfs/index.html

Best regards,

Brent

Hi.

I don’t account for subdirectories and such, but I do have code to watch a directory:

WatchForFileModification()

Hi @c.noeth,

I think the LFS library will accomplish what you need:

https://docs.coronalabs.com/api/library/lfs/index.html

Best regards,

Brent

Hi.

I don’t account for subdirectories and such, but I do have code to watch a directory:

WatchForFileModification()