Random Public Test Posted on July 21, 2014 by Sarah Baker under Random Demo Display Random Image Using JavaScript Each time the page is loaded an image will be selected at random. When you add more images to select from, you are less likely to get repeats from one page load to the next. Thank you for visiting!