By wolfgan on
I study Drupal in few days. I want to create a gallery. I was install the Image module and the Lightbox2. In the "Filtered HTML" I set the mark to the "Lightbox filter" and my links has got view like <a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
I want to change my links to something like
<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="images/image-2.jpg" rel="lightbox[roadtrip][caption 2]">image #2</a>
<a href="images/image-3.jpg" rel="lightbox[roadtrip][caption 3]">image #3</a>I need to change attribute from the rel="lightbox" to the rel="lightbox[roadtrip] but I don't understand how to do it.
Comments
Try PHP code input format
I have added attributes to the link trough input format,
i added: rel="lightframe[|width:800px; height:700px; scrolling: auto;]"
al though i couldn't use it in my wysiwyg editor, it took away my attributes
so i used "PHP code" input format instead and i don't have an issue with lightbox there anymore.