Image Assist
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 5.x-2.2-beta |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | wwalc |
| Status: | closed |
Jump to:
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
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
#276266: Image Assist integration marked as duplicate.
#3
#4
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
@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
#7
What's the status of this bug? Is it still valid?
#8
Closed because of lack of response.