ilanK
ilanK

Reputation: 3

Image Size option does not appear in Insert Image of CKEditor

I installed Drupal 8.9.x but when I press the Image option on the CKEditor, I get a window that does not contain "Image size" (that defines the image width and height). I only get image selecting, Alternative text, Align and Caption options. the option without Image Size In tutorial videos in YouTube I see that the Image Size does appear: Option with Image Size

Any idea why is that? How do I get the Image Size option? Can it be fixed? if yes, can someone assist how to add it?

Thanks.

Upvotes: 0

Views: 345

Answers (1)

Khawaja Nayab Ahmad
Khawaja Nayab Ahmad

Reputation: 101

Enable Media and Media Library core module Edit text format (admin/config/content/formats) to include "media" to include "Insert from Media Library" icon to "Active toolbar" and enable filter "Embed media" with filter settings set to "Image" for "Media types selectable in the Media Library" and "Media library" for "View modes selectable in the 'Edit media' dialog". Create new content using Article (default) and using new media icon upload and insert image to CKEditor. Currently "Edit media" modal has fields for "Alternate text", "Align" and checkbox "Caption". Having fields for width and height here would be useful. see if this helps

https://www.drupal.org/project/drupal/issues/3132211

Upvotes: 1

Related Questions