When I insert an image using CKEdiotr on Drupal 8 I don't see an option for the Image Size. See attached pic. Even if I right click and go to Image Properties still no way to set width or height.

Comments

tepelena’s picture

Here is a picture of what I am talking about. In this screen shot you can see the image size but that's from another installation.

VM’s picture

Are you sure that the feature shown in the acquia image is from ckeditor?

slewazimuth’s picture

I use IMCE for uploading and handling images with CKEditor in Drupal 8. For dealing with resizing I see this screengrab.

john54’s picture

For many Drupal releases I used CKEditor. In Drupal 8 what has happened while in CKEditor to click on an image and choose Image Properties. This window allowed modifying Width, Height, Border, Hspace, Vspace, Alignment and so on. In Drupal 8 I no longer have this option. Must be another way to accomplish this (short of manually changing the source code) but I can't seem to find it.

Following is what used to be there previous to Drupal 8

Only local images are allowed.

Thanks

fkelly12054@gmail.com’s picture

In Drupal 8 they are trying (and generally succeeding) to make image displays responsive. This means you can look at them on your smartphone and other display devices with different sizes as well as on a computer screen. So, they don't want you setting specific heights and widths the way we were all accustomed to in the pre-responsive web. Instead you assign styles to the images and then the system figures out how large it needs to be for the display device being used. They haven't got all this worked out yet, though there are some contrib modules that make it "sort of" work. As one poster mentioned, IMCE gives you some of the old capabilities for managing images and specifically resizing them. But the Drupal 8 gurus really don't want you setting height and width on images explicitly.

pyxio’s picture

i can understand image dimensions, but there were many other things like classes, styles, linking etc. i love D8 but have to say i much prefer the old image properties editor. cheers

caspervoogt’s picture

You should try inline_responsive_images. It lets you define image sizes and then offer them in a dropdown.

chike’s picture

Just installed it, works so well. It's easier adjusting image styles than adjusting every single image.