visually resize images when uploaded inline in ckeditor
There's a pretty simple solution, but it does feel a bit hack-y.


Add a CSS file to a module/theme with contents like

img { max-width: 200px; height: auto; }

Implement hook_ckeditor_css_alter() to get that CSS file loaded in the WYSIWYG iframe:

function hook_ckeditor_css_alter(array &amp;$css, Editor $editor) {
  $css[] = drupal_get_path('module', 'mymodule') . '/css/mymodule-ckeditor.css';
}



Once that's up and running images in the WYSIWYG should be constrained in width to whatever you set in the CSS file. You might need to resort to !important, depending on what other styles are already active; it'll need some tweaking no doubt.