Automattic / Automattic/jetpack

Photon: Not Resizing to the new WooCommerce Thumbnail

Open
#9,345 8 comments 0 reactions 0 assignees View on GitHub
[Feature] Photon [Plugin] Jetpack [Pri] Normal Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Woocommerce changed the way product thumbnail images are handled in version 3.3, adding a new image size that is by default 100x100px. Photon doesn't pay attention to this change.

If Photon is deactivated, the product gallery thumbnails show as square:

screen shot on 2018-04-18 at 11_20_42

If Photon is active, the thumbnails show as rectangles the way they used to before Woocomerce changed:
screen shot on 2018-04-18 at 11_21_28

Internal ref: 1005403-zen, 1063044-zen

This is reproducible on any site. Per @jeherve, the problem appears to be linked to how some themes can declare support for `wc-product-gallery-slider`

Originally reported in 1928-gh-jpop-issues

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the product gallery behavior with Photon active and inactive on WooCommerce 3.3 or later, including a theme that declares support for `wc-product-gallery-slider`. Trace how Photon handles the new 100x100px WooCommerce thumbnail size; done means the gallery thumbnails retain the square dimensions when Photon is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
performance, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.