I tried to add an thumb_image in CKEditor in Combination with IMCE+IMCE Bridge with a link to full_image, shown in Lightbox "Colorbox".

In Image popup Dialog on Tab Image-Info you can "browse" to IMCE-Dialog for selecting and inserting a thumb_image
On Tab "Link" you can "browse" to IMCE-Dialog for selecting a full_image

After saving Image Dialog and node/add form the link works, but full_image is shown in the same browser window (or other target)

But I want to open full_image in lightbox "colorbox"
Module Colorbox needs a class="colorbox" for working

Now, its only possible to add this class in Image popup Dialog on Tab "Advanced"
But this stylesheet class is added to Only local images are allowed. tag, instead of tag, which is needed.

At the moment you must use the Link Dialog in addition to add the class "colorbox"
This behavior is not easy for users.

Could you add a form field for class ( tag) on Link Tab, or perhaps an admin option for using colorbox with IMCE

Comments

Micha1111’s picture

class for img, instead of a

Micha1111’s picture

Project: IMCE Wysiwyg bridge » IMCE

only changed project from IMCE Wysiwyg bridge => IMCE

ufku’s picture

Status: Active » Closed (won't fix)

IMCE is not responsible for insering image code into the text area. It just give the filepath to the dialog, nothing more. You should manually do some customizations in CKeditor source.