Magento2 How to make Thumbnail zoom on click on product page?


  • i want to zoom this small image on click or hover. – Junaid Ashfaq Oct 2 at 10:44

You have to override view.xml file from

if you use parent theme luma (theme-frontend-luma)


if you use parent theme blank (theme-frontend-blank)


to your theme


just find

<var name="magnifier">

and You can do Turn on magnifier (true) "true"

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

  • not working for me – Junaid Ashfaq Oct 2 at 12:20
  • php bin/magento cache:clean, php bin/magento cache:flush also clear browser cache and check again – Savan Patel Oct 2 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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