Moved getRandomImage() functionality to content to ensure we have one.