Jump to Navigation

Inline images using WYSIWYG editors

Using CKEditor with WYSIWYG currently doesn't support CKFinder (native file management). Although the CKEditor module does actually support CKfinder.

This podcast:  http://mustardseedmedia.com/podcast/episode29 goes through how to get inline images working by using CCK FileField??, CCK Imagefield and the Insert module  http://drupal.org/project/issues/insert to get them in the content area (Also supports ImageCache?? presets). The  http://drupal.org/project/image_resize_filter module is an input filter which generates a new image file of resized images on the fly, so if a user adds an image in a body area and re-sizes, there will be an actual new file with the correct size / resolution.

Image Cropping.

The  http://drupal.org/project/imagefield_crop module works but doesn't work with the Insert module - there's a hack -  http://drupal.org/node/639578 which I've got working BUT you have to save the node, and then edit it to insert it into the content area (because the new cropped image file hasn't been created yet)

There is some discussion into getting the insert module to support imagefield_crop here:  http://drupal.org/node/495210 - doesn't look like they want to have it.

There's also Imagecache javascript crop  http://drupal.org/project/imagecrop

This works using jQuery UI and works with insert module BUT you can only crop to a set of pre-defined dimensions and it's not very intuative.

Follow