We have a Magento 2.1 based website we want to remove the image zoon feature on the product detail page. we were able to get the magnifying glass removed from the image but can not figure out how to actually remove the ability to click on the image and have it open full screen.

In the Magento_Catalog/layout/catalog_product_view.xml we added

<remove src="Magento_Catalog::js/jquery.zoom.min.js" />

However that doesnt do the trick because you can still click on the image and it opens in a full screen?

1 Answer 1



Search for:

<var name="allowfullscreen">true</var>

change it to:

<var name="allowfullscreen">false</var>

And then clear the cache in the backend. Np compiling or deploying needed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.