Arbitrary sizing of media - images for CKEditor

Created on 29 April 2020, over 4 years ago
Updated 13 July 2023, over 1 year ago

Problem/Motivation
When using "Insert from Media Library" from CKEditor if you could specify width/height of media either by entering values on edit modal or by dragging handle (like "Insert Image" works) would be nice.

How to on fresh install using Bartik theme:

  • 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 attached image.
Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇨🇦Canada igorbiki

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.

Production build 0.71.5 2024