Ticket #16541 - AMP Product Page İmage Size

Hi, is there any setting for zooming product image on AMP product page? Also how to define product image quality better on AMP product page?

Thank you.


Fred (fred) 29 Dec 2019, 21:44

There is no such option in the AMP yet.
As for the image quality question, try the following:
- open the file /modules/pk_amp/controllers/front/ajaxProduct.php
- find the line $imgType = ImageType::getFormattedName('medium');
- replace "medium" with "home"

Aytaç Göller (aytacgoller) 08 Jan 2020, 12:32

Hi, i changed that but it did not worked.

Fred (fred) 08 Jan 2020, 15:46

Strange. There is another way. Increase the dimension of "home" image type, then regenerate "home" images