Random Image

The script displays an image from an array.

Auto loaded Image will appear here

The script is on the source code below:

The index of the image from the array is set in the script.

Top

Links

Link to PDF Disabled

If you require a copy please email tempusfugit.me.uk

Top

References -

  • 1 - Javascript: Load an Image from url and display - https:// stackoverflow.com /questions/ 17634019/ javascript-load-an-image- from-url-and-display
  • 2 - How to Load Image From URL in JavaScript - https:// www.delftstack.com/ howto/javascript/ javascript-load-image-from-url/
  • 3 - HTMLImageElement: Image() constructor - https:// developer.mozilla.org/ en-US/docs/Web/API/ HTMLImageElement/Image