- Issue created by @nessthehero
- πΊπΈUnited States nessthehero
Okay, I dug into the code a bit.
I think the issue is partly my fault. I have an existing Focal point crop on every image style, and the code is stopping after it finds one crop in each image style.
This takes place in \Drupal\image_widget_crop\ImageWidgetCropManager::getEffectData;
It sets data every time it finds a crop, so whichever one comes last is the winner.
Maybe this should return an array? Then the final return would be a reduced array of all the unique crop types.
I can resolve the issue on my end by replacing the Focal crop with the Manual crop and then just using a Scale afterwards to get the size I want, but I'm curious on the approach I mentioned above. Would it prove useful?
Thanks.