Issue cropping image - Image with black content

Created on 27 September 2023, about 1 year ago

Problem/Motivation

I installed the module and I was having issues cropping an image. I would get part of the image and then black. And when inspecting the image itself had block. It was part image, part black.

Steps to reproduce

I installed the module
Created a new crop type with 5:3 aspect ratio and hard limit of width 606 and height 376
Created an image style using this crop
Added said crop to an image in Form Display
Rendered image with image style

I couldn't figure out why it was happening. I solved my issue by changing the Image style used in Form Display > "Preview crop zone image style". By default it had "Crop thumbnail".
I created a new one (image stye) that was just the original image and my cropping started working perfectly.

I am not sure if this is a bug or I did something wrong, but wanted to let everybody know.

💬 Support request
Status

Active

Version

2.4

Component

Documentation

Created by

🇪🇸Spain uridrupal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024