• Priority: High
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 29.12.19, 15:45
  • Opened by: Aytaç Göller
  • Closed by: Fred
  • Closed on: 01.02.20, 14:11
  • Reason: Closed
  • Comment: Glad to help!

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.

Comments

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 08 Jan 2020, 12:32

Hi, i changed that but it did not worked.

Fred 08 Jan 2020, 15:46

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