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
Comment #1
eugenmayer commentedHow is this a bug report?
Anyway i postpone this until nobody volunteers to implement it. In general maybe a interesting feature.
Comment #2
that0n3guy commentedI think this post might have a little to do with this:
http://drupal.org/node/235764
Comment #3
eugenmayer commentedWell 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...
Comment #4
eugenmayer commentedfixing type
Comment #5
eugenmayer commentedReopen if you start working on this