Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mtokoly on
Hello, im using Drupal 7 with the views module. I am trying to create a simple gallery with a lightbox viewer. Everything is working properly, except that i cannot connect a lightbox viewer to the images because i cannot create the 'rel' attribute for the links.
So... How can i add the rel attribute to the links?? Im willing to hard code this if i can - im in dire need of some help. PLEASE HELP ME.
Comments
...
If you're using views, lightbox, and imagefield, there should be a display format in your view's field that looks something like: Lightbox2: thumbnail -> original.
Views will add the rel tag for you...
Additional Rel attributes to WYSIWYG INLINE image and text links
I am sure the question was about Inline images and links, not views. I have also been stuck and breaking my head for months over this absolutely stupid problem.
Another way to put the question is: how to add a rel attribute yourself, instead of only being able to choose from a limited list, that by the way is completely unsorted.
I started with Drupal in 2007 and then my life got stuck...
=-=
https://www.google.com/search?q=add+class+to+field+output+drupal&oq=add+...