Is it possible to override the product image size declared in view.xml when you're in fotorama fullscreen mode in PDP? My goal is to change the image sizes when you're in fullscreen mode.


Found the answer.

you can update the forotama thumbnail size buy adding a setter in GalleryOptions.php in Magento_Catalog in getFSOptionsJson() to be exact.

As for the main image, the height is automatically calculated to fit the to the screen.

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.