"Preview image style" and "Crop preview image style" field descriptions are confusing

Created on 8 January 2019, over 5 years ago
Updated 16 February 2023, over 1 year ago

As a site builder, I assumed I should use a cropped image style for both "Preview image style" and "Crop preview image style" and I suspect many folks would do the same.

This results in an unexpected output where you crop an image, and then on edit, the already cropped image has the same crop widget appear on top of it. (It works as long as you don't resize the crop, but it looks broken or that you'll end up with a tiny "double cropped" image)

I found the old issue https://www.drupal.org/project/image_widget_crop/issues/2845343 β†’ here which lead me to the understanding of how the fields are to be used.

My proposed resolution: update the descriptions below the fields

BEFORE
Preview image style
The preview image will be shown while editing the content.

Crop preview image style
The preview image will be shown while editing the content.

AFTER
Preview image style
The image with the applied crop. Select an image style that applies the crop action.

Crop preview image style
The source image that the crop widget is applied to. Select an image style that does not apply the crop action.

If this description looks right to the maintainers I can create a patch.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

User interface

Created by

πŸ‡¨πŸ‡¦Canada afoster

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.69.0 2024