Dear community,
I found a lot partial solutions, but I think most of them looks very complex. I’m looking for a way to load a random image from /assets/gif/
…
Is there some nifty one-liner like (pseudo-code) <?php echo $roots->assets() . 'gif/' . images()->shuffle()->first(); ?>
? But I’d please like to have a path starting with /assets/
, not a full external URL to my domain + path …
Thank you in advance. : )