adds the option to display a random image instead of a slideshow if multiple images are given, fixes #2145039