jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Classic editor: Square gallery image distortion

Open xpurichan opened this issue 7 years ago • 17 comments

Images are appearing distorted on websites that use the classic editor and have setup an image gallery using the "Square" gallery style.

Steps to reproduce

  1. Create an image gallery on a website that uses the classic editor
  2. When editing the gallery use the "Square Tiles" layout option
  3. Note that the gallery tiles look fine in the editor
  4. Publish the page
  5. Visit the page on the frontend of the website and note how the images are distorted (stretched or squashed) to fit in to the square tiles - this can range from minimal to significant depending on the aspect ratio of the image you're using.

What I expected

The square tiled gallery previously and should crop images that are not square, so that the image fits neatly in to the gallery.

What happened instead

Instead the images are being distorted to fit in to the square tile of the gallery if they rectangular.

Screenshot / Video

A screenshot showing the distortion on the website: Screen Shot 2019-05-09 at 2 12 54 PM

A screenshot showing no distortion when we view the images from the editor of the page: Screen Shot 2019-05-09 at 2 16 45 PM

Context / Source

#user-report in zen-2020402

xpurichan avatar May 09 '19 19:05 xpurichan

I confirm this as well. It works well in the new editor though.

Robertght avatar May 12 '19 06:05 Robertght

The same happens with circle galleries. 2026299-zen

kriskorn avatar May 13 '19 08:05 kriskorn

Also reported here: 2026571-zen

sourourn avatar May 13 '19 12:05 sourourn

2023912-zen

KokkieH avatar May 14 '19 05:05 KokkieH

Another report: 2029284-zen

rinazrina avatar May 14 '19 12:05 rinazrina

Another one: 2030315-zen

sourourn avatar May 15 '19 07:05 sourourn

Also 8289086-hc

dcoleonline avatar May 15 '19 18:05 dcoleonline

And here: 12827918-hc

AMcGrady avatar May 16 '19 14:05 AMcGrady

Another one: 2033567-zen

sourourn avatar May 17 '19 08:05 sourourn

Another one: 2036733-zen

desnum avatar May 17 '19 20:05 desnum

Another one: 2035382-zen

katinthehatsite avatar May 17 '19 21:05 katinthehatsite

Also happening on circle tiles: 2040698-zen

GeoJunkie avatar May 18 '19 18:05 GeoJunkie

Another: 12883141-hc

kathleenjross avatar May 19 '19 15:05 kathleenjross

Another one: 2039874-zen

sourourn avatar May 19 '19 15:05 sourourn

Another case here 2038233-zen

ericamQA avatar May 20 '19 02:05 ericamQA

#2043020-zen

Robertght avatar May 20 '19 05:05 Robertght

Closing as duplicate of 7861-wpcom

jeherve avatar May 20 '19 19:05 jeherve