If the product gallery is not working properly on product detail pages, as in the featured image is not visible but the thumbnails are visible, please disable any built-in carousel or gallery effects in your theme settings.
For example, the image below shows the carousel being disabled in the Woodmart theme: