I'm having trouble getting the product images to behave on product view pages.
This screen shot is from the product view page. You can see the white bars down the side. All these images seem to be resized to 700x700 with white backgrounds (which are part of the image not css). Full screen and thumbnails are fine.
The data for the gallery comes from getGalleryImagesJson()
and the urls defined in getGalleryImages()
in Gallery.php. The image is loaded with keepFrame(false)
and with the size from product_page_image_large
which is set to 780x1000 in view.xml
. My understanding is this shouldn't add bars. I've also added <frame>false</frame>
but no help.
I'm using magento 2.1.6 and have tried running magento catalog:images:resize
and flushing caches etc.