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 |
Jump to:
Description
Although posted before, is there any movement on having IMCE or CCK-IMCE add lightbox rel tag to images?

#1
+1
I'd love that.
#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
@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
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.