This script displays a random image everytime you refresh the page (as many images as you like).
You can add a link to all images.

Add the Snippet to a HTML page or a Blocks HTML and replace the url of my flower images and the links.

It's very simple.