Added function to only display one image on product listings for products with multiple images