IMCE add rel tag for lightbox integration

sjmo2 - August 12, 2008 - 16:58
Project:IMCE
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Although posted before, is there any movement on having IMCE or CCK-IMCE add lightbox rel tag to images?

#1

-Anti- - August 25, 2008 - 23:00

+1

I'd love that.

#2

bigmack83 - April 17, 2009 - 23:17
Version:6.x-1.1» 6.x-1.2

I would love a solution for IMCE and Lightbox integration. I read a module where the user sicarius hacked everything needed to get them to work together so i know its possible. With this example is would be easier to get this as a solution.

How I got FCKEditor + IMCE + Lightbox to "just work"
http://drupal.org/node/314566

#3

Skirr - September 26, 2009 - 08:45

@bigmack83
Looks like rel tag is added by hacking fckeditor, and there is a patch for that.

But other functional is made by hacking imce_set_app.js
And i'm really interested, is there a way to get that functionality without hacking imce?

#4

ufku - November 20, 2009 - 17:06
Status:active» won't fix

IMCE is reponsible for just sending the file URL to wysiwyg editors. It does not interfere with the way of image code insertion. So there is no way for IMCE to add an attribute to the inserted code.

OTH, if you are using IMCE's inline file insertion method for plain text areas then the methods in imce_set_inline.js can be overriden in your theme's script.js file. Note that, this has nothing to do with wysiwyg editors and if you're using a wysiwyg editor please ignore this paragraph.

 
 

Drupal is a registered trademark of Dries Buytaert.