Currently, WYSIWYG image upload does not support panel panes. (Per http://drupal.org/node/785578#comment-2908404 only nodes and comments are supported.)

That means it is impossible to use wysiwyg_imageupload to upload images in conjunction with a wysiwyg editor like ckeditor or tinymce.

I am currently solving this requirement by using Panels, WYSIWYG Panels, WYSIWYG API, IMCE, and IMCE_WYSIWYG Bridge (with ckeditor).

Would prefer to use WYSIWYG image upload.

On clicking the Image Upload button in ckeditor, the following message is displayed in Chrome:

Uncaught TypeError: Cannot read property 'current_form' of undefined
/sites/all/modules/wysiwyg_imageupload/plugins/imgupload/imgupload.js?3:7

A similar error is displayed in Firefox:

form_id = Drupal.settings.wysiwyg_imageupload.current_form;

Comments

eugenmayer’s picture

Category: bug » support
Priority: Normal » Minor
Status: Active » Postponed

How is this a bug report?

Anyway i postpone this until nobody volunteers to implement it. In general maybe a interesting feature.

that0n3guy’s picture

I think this post might have a little to do with this:

http://drupal.org/node/235764

eugenmayer’s picture

Well yes and no. That issue handles general WYSIWYG API support, but WUI will most probably not show up ( the button ), due to the "is node form" check in form_alter

http://github.com/EugenMayer/wysiwyg_imageupload/blob/master/wysiwyg_ima...

Iam not sure the panel-inline content is a node at all. If it is not, it will need more work here. Changing this line to support the panel form is one thing, this would actually show the button and the dialog should work. But we still need a nodeapi like implementation to make the files permananet and build the relation like here :

Thats for nodes: http://github.com/EugenMayer/wysiwyg_imageupload/blob/master/wysiwyg_ima...
And thats for comments: http://github.com/EugenMayer/wysiwyg_imageupload/blob/master/wysiwyg_ima...

eugenmayer’s picture

Category: support » feature

fixing type

eugenmayer’s picture

Status: Postponed » Closed (won't fix)

Reopen if you start working on this