Automattic / Automattic/jetpack

Enhancement: Site Accelerator ignores custom image size from Elementor

Open
#22,052 8 comments 0 reactions 1 assignee Claimed by @jeherve View on GitHub
[Feature] Photon [Focus] Compatibility [Plugin] Jetpack [Pri] Low [Status] Auto-allocated [Status] In Progress Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

Make site accelerator respect the custom image size set in Elementor

### How

With Site Accelerator (Speed up image load times) disabled:

- Create a new page with Elementor and add an image with a custom size:

![image](https://user-images.githubusercontent.com/1990037/145247002-978b10b2-fecf-447d-91ff-79ec3fd97681.png)

- View the page. The image is shown at the specified size:

![image](https://user-images.githubusercontent.com/1990037/145247088-a14b0ec5-2d4e-4f73-8491-e5b2f85c9710.png)

- Now enable image "Speed up image load times" and view the page again. The image is not shown at the custom size:

![image](https://user-images.githubusercontent.com/1990037/145247264-1309da2b-695f-41b1-8569-b05ce60abc4e.png)

Reported in https://wordpress.org/support/topic/image-rendering-3/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.