Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resize uploaded inline images with ckeditor in drupal 8

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

like image 351
Alex Avatar asked Dec 28 '25 04:12

Alex


1 Answers

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!

like image 85
Sukanya. R Avatar answered Dec 31 '25 00:12

Sukanya. R



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!