Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2009 at 17:06 UTC
Updated:
20 Jan 2012 at 23:53 UTC
Hi everyone,
just to let you know in case you were wondering that it is possible to use the lightbox module and imce/fckeditor quite simply.
On the fckeditor website, i have found that there's a patch allowing us to add the rel attribute (aka Link Relationship) to the fckeditor advanced tab.
You can simply put there the rel attribute you want (lightbox....) and everything works fine.
It is very useful for me cause I don't want my clients to have to get into some html coding when using this, and I also don't want to use evrytime the same lightbox effect.
Anyway, here is the link to the patch : http://dev.fckeditor.net/attachment/ticket/2627/fck-rel.patch
I hope it helps some of you
Regards
Comments
Comment #1
stella commentedAdded to the documentation page at http://drupal.org/node/252153 Thanks.
Cheers,
Stella
Comment #3
iantresman commentedAlternatively, in Lightbox's Admin
Then in the FCKeditor, use IMCE to insert a thumbnail, and in the image properties:
Finally, in the FCKeditor, select the image and:
The Lightbox popup should work as expected.
And then the Image Caption module to add a caption to the tumbnail.
Comment #4
thaddeusmt commentedI hacked together a little "patch" for the new CKEditor so it allows for adding "rel" attributes to the image links, just like the FCKeditor patch:
http://www.chilipepperdesign.com/2010/01/08/adding-the-rel-and-title-att...
Comment #5
freiheit0 commentedthanks iantresman, great solution.
Comment #6
summit commentedHi,
Will this still work #3? And do you have to make your image clickable to get this working?
greetings, Martijn
Comment #7
iantresman commentedI haven't tried this for a while, but the last part of #3 "Finally, in the FCKeditor" adds a link to the thumbnail, in which the destination is the full-sized image.