Automattic / Automattic/jetpack

Image Compare: do not upscale images

Open
#15,953 0 comments 0 reactions 0 assignees View on GitHub
[Block] Image Compare [Pri] Low Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

> The image comparison block enlarges the image to fill the block, so smaller images become pixelated. It would be nice to have some control over the size of the block with respect to the image
-- p8oabR-vj-p2#comment-4263

Contributor guide

Open the contributing guide

Research direction

Start by locating the Image Compare block in the Jetpack repository and reproduce the issue with an image smaller than the block. Determine how the block chooses its displayed size, then verify that smaller images are not enlarged and remain sharp while the comparison still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.