Installed media/media-gallery, it works an I can add images in wysiwy as well.
Installed mg_picker, in the text-formater I acitvated Media galleries.
Added the button to wysiwyg (I use CKEditor).

But the button does nothing.
What I'm doing wrong?

Comments

kalman.hosszu’s picture

Hi,

I can reproducate the problem via CKEditor, maybe this is a Wysiwyg editor issue (working correct with tinyMCE). I'll consulting this problem with the maintainer of the wysiwyg module, because I use wysiwyg module's API.

Thanks for yout report!

Kalman

stoltoguzzi’s picture

Thanks for your help, I switched over to tinyMCE, this way I get the the select widget.
Now I can select one of the image and insert.
But then there is only one image in the article, a click will open the image node and not the gallery as I suspected?

kalman.hosszu’s picture

Status: Active » Closed (works as designed)

If you select an image it will show in the content as a link what navigate the user to the media gallery page. So this module doesn't embed the full gallery into the content.

If you want the embed function, please open a feature request issue about it!

Cheers,
Kálmán

koitsenko’s picture

Issue summary: View changes
StatusFileSize
new86.42 KB

Sorry for brining up an old issue. Tried the same thing as original poster with CKEditor. I did get a screenshot of the JavaScript errors. Any thoughts?

orangutangle’s picture

StatusFileSize
new95.73 KB

I'm still getting this error with ckeditor. The button appears in the editor toolbar but does nothing. JS console shows:
TypeError: Drupal.wysiwyg.instances[instanceId].openDialog is not a function.