Combined randomLandscapeImage() and randomPortraitImage() functions into randomImage()