guardian / guardian/dotcom-rendering
[Bug]: 5:4 trail image squeezed into 4:5 front card
- Dominant language
- TypeScript
- Stars
- 274
- Forks
- 34
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 121
Description
### What happened?
Never-ever should images be squeezed in any direction, anywhere. I bet there is `object-fit` option that will work correctly. Here [is](https://www.theguardian.com/europe#features) (now fixed) a 4:5 card (`static/feature/2`)
with a 5:4 Composer trail squeezed badly. Dug up an image from HTML ([here](https://i.guim.co.uk/img/media/dcb54c7b4634c45141a9eeaaf92efdd3efa95831/0_0_16176_12941/master/16176.jpg?width=460&dpr=2&s=none&crop=4%3A5)):

Of course, it should have been fixed by a human [EDIT: and indeed it has], by providing a replacement like on the left (frontstool has not indicated an active image replacement for this card). Nevertheless, platform should not be wrong here. Humans are fallible. Especially on a Sunday.
### Where is this happening?
https://www.theguardian.com/europe#features
### What is the impact?
With a photo of a human face the impact would be bigger.
Contributor guide
Assessment
This issue has not been assessed yet.