Importing images from a folder
Unanswered
Rainbow trout posted this in #help-forum
Rainbow troutOP
I have several .webp images in
/app/assets and I want to randomly select one and set it as the background image of the body. I find myself having to import each and every file and then use its .src attribute to set the background image. Is there a cleaner way to import every image in a folder?