Hiya!
Well, I don't know if it would be the easiest solution for you if you're not familiar with the language, but I'd use some javascript to do what you describe.
To make it quick, I would:
- Create an array with all my images src
let myArray = ["my-first-image-src", "my-second-image-src", "etc"]
- Create a function that picks a random src in that array and fills my image src with it. Something like that:
function randomImg(){
let randomNumber = Math.floor(Math.random() * myArray.length);
let randomImg = myArray[randomNumber];
document.getElementById("the-id-of-my-img-div").src = randomImg;
}
- Call the function when my page loads
window.onload = randomImg()
I googled "display random image onload javascript" and
one of the first entries looks like it would do the job (and maybe it would offer you a better explanation than mine!)
Hope this answer will be helpful