3
votes

In drupal 8, I try to resize uploaded images via ckeditor. Images are not resizing when uploaded via the ckeditor. How to resize inline-image with ckeditor in drupal 8 ?

There is an option in the "Text format" to resize "scale down" the image. But this setting does nothing ? any tips ?

The Drupal "FULL HTML" text format settings

2

2 Answers

9
votes

Druapl 8 offers drag resizing of images out of the box. If you have set up the 'Limit allowed HTML tags and correct faulty HTML Enabled' filter in your editor(setup at /admin/config/content/formats) , make sure that the <img> tag is added to it with the height and width attributes (Ex: <img height width>) and then you can see a black drag handle at the bottom right hand corner of the editor in your nodes.

Adding this info here so it can be useful for others looking for a solution!

-1
votes

I don't think CKEDITOR could resize your images (it never could). You could only set width and height properties yourself in "Source Code", but it will only visually resize image.

As alternative you could try install IMCE drupal modules, which has this feature