Image insert

msameer - November 3, 2007 - 17:10

Provides a way to insert images into any text area using views. It should be a simple img_assist replacement.

You need something like this in hook_form_alter():

$form['body_filter']['image_gallery_edit'] = array(
   '#img_insert_type' => 'text',
   '#type' => 'img_insert',
   '#img_insert_target' => 'edit-body',
   '#img_insert_view' => 'image_gallery_edit'
);

Depends on jQuery Update.

Releases

Official releasesDateSizeLinksStatus
5.x-1.12007-Dec-0312.94 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2007-Dec-0412.94 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.