I have installed Porto theme. When I visited a product page and click on the image, it goes into full screen, which is exactly as per requirements. When I try to zoom in or out of the image using the magnifier glass icons,nothing happens.

I have no clue why this is the case.

See example on this webpage:


You can enable/disable Zoom for fullscreen in view.xml

Copy view.xml file from


add view.xml to


You can find out magnifier and change as per requirements.

  • Hi, Thanks for the attempt. The problem is that the zoom in and zoom out buttons after full screen is not doing anything. It is just not functioning on my setup. – Sam Jan 17 '20 at 0:58
  • Hi, the view.xml doesn't control js function of the zoom button nor does it say anythig about it. – Sam Jan 17 '20 at 1:58
  • @Vrajesh Sir, I am facing same issue in magento 2.4.1, I tried this solution but still facing the issue, please help me – Faisal Sheikh Jun 1 at 8:05
  • Which issue you are facing ? – Vrajesh Patel Jun 2 at 4:55

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.