Image Assist

GrahamShepherd - June 26, 2008 - 10:13
Project:FCKeditor - WYSIWYG HTML editor
Version:5.x-2.2-beta
Component:Documentation
Category:feature request
Priority:normal
Assigned:wwalc
Status:closed
Description

Image assist version 5.x-1.6
img_assist_fckeditor.js copied to sites/all/modules/imgassist
In fckeditor.config.js the following lines are activated:
FCKConfig.PluginsPath = '../../plugins/' ;
FCKConfig.Plugins.Add( 'imgassist' ) ;
I can't find any advice about the toolbar item to activate.
I have tried various toolbar items including ImgAssist, Image_Assist and ImageAssist but I get the same result: a message: 'Unknown Tool bar item "ImgAssist" (or "Image_Assist" or "ImageAssist" as the case may be)'.
Image Assist works from outside the textarea but not from the toolbar.
Drupalbreak and DrupalPage Break work as plugins (although the icons are not clearly differentiated). Why not this one? Help requested, please.
Graham

#1

GrahamShepherd - June 27, 2008 - 07:53

OK. One way of making this work is to eliminate the Image toolbar item altogether and to use Image Assist from the link below the text area. All options are available from here including position in the text flow (position of cursor) sizing, alignment, link to image page and upload a new image. However, if using Filter tags, the image does not appear in the FCKeditor window but a place-mark does, without any alignment or styling. The place-mark is the Imgassist gif in the plugin. The existence of such a gif does though suggest that Image assist can be implemented as a toolbar item like TinyMCE does and like the DrupalBreak plugins do.

#2

wwalc - June 30, 2008 - 13:41

#276266: Image Assist integration marked as duplicate.

#3

wwalc - June 30, 2008 - 13:41
Category:support request» feature request

#4

julou - July 9, 2008 - 09:48

But in the file modules/fckeditor/plugins/imgassist/fckplugin.js is the line FCKCommands.RegisterCommand( 'Img_Assist', new FCKDialogCommand( 'Img_Assist', 'Image Assist Object', FCKConfig.PluginsPath + 'imgassist/fck_imgassist.html', 400, 330 ) ) ;

Is this not supposed to defined the button called by 'Img_Assist' in fckeditor.config.js???

By the way, it would be great to add this functoin to the contextual menu also as suggested by this contextMenu.AddItem( 'Img_Assist', 'Image Assist' ) ;

Thank you for your help. Thomas

#5

wwalc - July 11, 2008 - 08:36

@julou: New buttons are registered by FCKToolbarItems.RegisterItem. It is already added to the context menu, that's why it is possible to select "Image Assist" item from the context menu when you click on a Image Assist image inside of the FCKeditor.

#6

wwalc - July 28, 2008 - 09:02
Assigned to:Anonymous» wwalc

#7

Jorrit - July 8, 2009 - 13:05

What's the status of this bug? Is it still valid?

#8

Jorrit - July 24, 2009 - 18:44
Status:active» closed

Closed because of lack of response.

 
 

Drupal is a registered trademark of Dries Buytaert.