How to fix the Magento 2.2.4 / 2.2.5 product image magnifier issue?

zoom
frontend-product-view
bug
product-image
bug-fix
magento224
magento225
magnifier

(Dmitry Fedyuk) #1

02


(Dmitry Fedyuk) #2

The bug was introduced at 2018-01-10 by the following commit:

How to fix

Replace the line:

with the following one:

Then re-deploy the static content.