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

Poieo’s picture

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...

suffering drupal’s picture

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...