Image Resizing Issue:

Created on 26 November 2024, about 2 months ago

After upgrading the Gutenberg module from version 2.6 to 2.14, we encountered an issue related to image handling in the editor:
Missing Dropdown for Image Styles:
In version 2.6, there was a dropdown in the Image Block settings to select predefined Image Styles (e.g., Thumbnail, Medium, Large, Full).
After upgrading to 2.14, this dropdown is no longer visible, limiting the ability to select different image styles directly from the block settings.
Image Resizing Issue:
When uploading large images (e.g., over 800px wide) in the Image Block, the image is automatically resized to 480px width.
when we are trying to resize it its getting distored.
Media Block Behavior:
The Media block, which was available in version 2.6, is no longer visible in version 2.14. This block was previously used for inserting media and seems to have been removed or replaced.

🐛 Bug report
Status

Active

Version

2.14

Component

Code

Created by

🇮🇳India lomasr

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

Comments & Activities

  • Issue created by @lomasr
  • 🇬🇧United Kingdom GHaddon

    Hi,

    We also experienced this issue and didn't have the time to problem solve it. I'm guessing it is related to this change though:
    https://git.drupalcode.org/project/gutenberg/-/commit/a57338fa5f79f0fb9a...

    We ended up upgrading to the 3.x branch which has changed the way images are handled. It no longer uses image styles instead using image aspect ratios.

    Hope this helps anyone with the same issue.

  • 🇺🇸United States matthensley Portland, OR

    If others are encountering this on the 2.x branch, there appears to be an issue where there are new fields when editing the content type that isn't saved into config until you go to the edit form for the bundle and click "save". Doing this caused the image style options to show up again for me!

Production build 0.71.5 2024