if a product only has images for its variants, display the first variant image for the product instead of none

Fixes #2992