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
Comments
Comment #1
grahamshepherd commentedOK. 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.
Comment #2
wwalc commented#276266: Image Assist integration marked as duplicate.
Comment #3
wwalc commentedComment #4
julou commentedBut 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
Comment #5
wwalc commented@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.
Comment #6
wwalc commentedComment #7
Jorrit commentedWhat's the status of this bug? Is it still valid?
Comment #8
Jorrit commentedClosed because of lack of response.