option for displaying the images in a random order