After going through the usual "Add image" process on image attach, when I click "insert" the link never goes into the textfield unless I click "Disable Rich-Text" first. Neither the [] tags nor the HTML image insertion work.

CommentFileSizeAuthor
#5 wysiwyg.png29.85 KBmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Project: Image » Image Assist
Version: 6.x-1.0-alpha4 » 6.x-2.0-alpha2
Component: image_attach » Wysiwyg API Plugin
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Sounds like an Image Assist issue. Please (re)set the proper version of Image Assist you are using first. Also, please test whether it works after updating to the latest development snapshot.

dkane’s picture

I am having the same issue using 6.x-2.0-alpha2.

hoyer’s picture

Same for me. Appears when I try to insert an image by using the "Add Image" link below TinyMCE. Maybe it's due to the lacking implementation in WYSIWYG!?

Firebug's message:

uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://example.net/img_assist/img_assist_textarea.js?z :: insertToEditor :: line 90" data: no]

I'll try the development snapshot.

sun’s picture

The Image Assist icon link _below_ the textarea should be disabled via Image Assist's settings page when using Wysiwyg API. Instead, you should enable the "Image assist" button in your wysiwyg profile(s). Afterwards, you will see a "camera" icon in the editor toolbar.

If this solved your issue, please add this to #359936: FAQ and mark this issue as fixed.

mikeytown2’s picture

FileSize
29.85 KB

The Image Assist button seems to have disappeared.

Installed Modules (All Green - Up to date)
Image 6.x-1.x-dev (2009-Mar-09)
ImageAPI 6.x-1.3
ImageCache 6.x-2.0-beta8
Image Assist 6.x-3.x-dev (2009-Feb-13)
Inline 6.x-2.x-dev (2009-Feb-13)
Wysiwyg API 6.x-1.x-dev (2009-Mar-09) - TinyMCE 3.2.1.1

sun’s picture

@mikeytown2: Please read http://drupal.org/node/358296

mikeytown2’s picture

Awesome, upgraded to Wysiwyg API 6.x-2.x-dev (2009-Mar-07) and I got it working.

sun’s picture

Status: Postponed (maintainer needs more info) » Fixed

I've added the information in #4 to the FAQ.

Marking as fixed, because my guidance in #1 was never replied to and the majority of users seem to have searched for the solution in #4.

mikeytown2’s picture

cozzi’s picture

To go one further, I had this problem too (I had to Disable Rich-Text to insert)

But, I also found that I did not add a new Input filter as per this post: * Configure an input format and enable the filter 'Inline images' by visiting:

Administer > Site configuration > Input formats

It seems to me this is a subtlety that should be handled upon install. If not directly modifying an existing Input Filter it should create a new Input Filter with a name such as "Allow Image Assist". This way, those of that at least that have been trained to drop open the Input Filter window would see the custom filter and know we should do something with it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.