I tried to reproduce this on a clean install in a simplified way but couldn't ... I'll post it here in case it helps in the future.

I'v got multiple crop styles using soft limits and no aspect ratio or hard limits. I've got multiple image styles using those different crop styles. The image styles all use 'manual crop' first then 'scale'.

I've got a paragraph type with 2 image fields. One has an image style, the other has 'None (original image)'.

Any time I use that paragraph type, upload images, and view the node, I get really a weird images in the field which has 'None' for image style.

The images are color distorted and position-shifted across a slice. The distortions change every time I hard reload the page. I've verified that the actual original images on the server are fine - they're just messed up fresh each time they're served.

I tried a different browser, so it's not a browser issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jonathanshaw created an issue. See original summary.

jonathanshaw’s picture

Issue summary: View changes
woprrr’s picture

Hi @jonathanshaw

Thank to post this feedback ! I will try to reproduce that tommorow. Are you available in slack to talk more easy to reproduce ?

Are you using gd or imagick ? What kind of configuration your server has ? Php version drupal version ?

jonathanshaw’s picture

Server is local dev environment using Lando's standard D8 recipe, so docker on windows 10. The image handling library is just core's out of the box.

jonathanshaw’s picture

PHP 7.1.12, D8.3.2, IWC 8.2.1. Image toolkit GD2.

I tried recreating on a fresh image field on a different content type. Seems to work fine.

I tried recreating on a fresh image field on a fresh paragraph type on a different content type. In this case, I actually have trouble even viewing the image at all. Seems like something weird in the paragraphs use case.

Attached some debugging files.

jonathanshaw’s picture

I can't replicate on simplytest.me using paragraphs. So it looks like it's environment dependent. One possible difference is that simplytest.me has a 2Mb file upload limit, while locally I was using 5 MB files with a 100Mb limit.

woprrr’s picture

Status: Active » Postponed (maintainer needs more info)

Hi @jonathanshaw,

can you test it on https://github.com/woprrr/drupal8-composer-template/tree/8.3.x to share same env ? I can't reproduce your unexpected behaviour ...

woprrr’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)