Yesterday I mentioned on http://drupal.org/node/32221 that I've been working on a rewrite of the img_assist module that makes it easier than ever to add inline images to posts. It has the exact same purpose as the original img_assist, but it offers these advantages:
- Tightly integrated with the TinyMCE WYSIWYG editor with a new drupalimage plugin. It converts the Drupal filter code into an image placeholder that the user can align and resize in the WYSIWYG editor. On saving, viewing HTML source, or changing the image (using the plugin) the placeholder is converted back to Drupal filter code.
- Set up so that integration with another WYSIWYG editor should be fairly easy.
- The image is linked using the image's NID, instead of the FID. That way if/when the image files are regenerated from the source the inline image won't be lost.
- Images can be resized to ANY size, not just a pre-defined list of standard sizes set by the image.module. The imaging toolkit (GD2, etc.) is used so the images are never resized by the browser.
- The workflow is simplified (in my opinion -- that's a preference of course).
- Mostly backwords compatible with the existing img_assist (you can't EDIT an existing img_assist tag with the drupalimage plugin, but existing tags will still work unless you try to edit them).
Please take a lot of some screenshots: http://www.benjaminshell.com/demo/img_assist.htm. You can also download it from my site. It may not be ready for a production site, but it's working great on my test site running Drupal CVS with the latest versions of TinyMCE and image.module. It seems to work on Drupal 4.6 as well.
Since it is a rewrite of the original img_assist module, with the exact same purpose of adding inline images to posts, I'm hestitant to release it as a new module. However, the changes are too extensive for patching the existing img_assist module. What do you think? What's the best way to release it?
Please let me know what you think. After reading the forums for the last couple years I've been getting the feeling that many people want a better way to insert inline images and so I'm trying to provide that.