2

I'm trying to get adding images to work smoothly (more like how wordpress handles it) I have added WYSIWYG+CKeditor, Insert, Media, Resize Filter (which I can't yet get working).

Right now the main issue is I can insert things from the media library that are already there. But when I'm at the bottom of a post adding an image, I want all added images to go to the media library (especially to make cleaning up unused/replaced images easier for the content editor).

Is there a simple way to set up this behaviour?

1 Answer 1

3

Instead of using the Insert module, use the Media module's WYSIWYG integration. This adds a button to the WYSIWYG toolbar which allows you to choose an item from the Media library. You can also upload a new media item which adds it to the library and selects it to be inserted into the WYSIWYG editor. The link above explains how to set it up. Make sure you follow all the steps. You have to enabled this functionality in both the WYSIWYG profile and the text format to get it working properly.

Also, check out this great video on Media for some more information.

1
  • 1
    There is a problem in that approach. The inserted images, for example, could not be styled by the defined Drupal images styles!
    – SaidbakR
    Aug 28, 2015 at 3:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.