I'm almost sure that I have everything set up right and applied the necessary patches. I'm using the Media 7.x-1.1 module and Media:YouTube 7.x-1.0-beta3 for video. Then I create content and add media (video as well as images) using the aforementioned modules. Then when I create a view and use the Lighbox Trigger field as per the documentation (http://drupal.org/node/735424) my issue is that I do not see (Token) "Replacement Patterns" available for the popup field despite the Lightbox Trigger field being the last field in the list. Is it possible to use Lightbox2 and Media together? Are there tokens for this field and can anyone give me a tip where I can find them.

Comments

subscribe

subscribing

subscribing.
Any hope for this?

I had to apply this patch: https://drupal.org/comment/7836831#comment-7836831 manually for the replacement patterns to show and for Lightbox2 to finally work.

Now the only issue I have is that I'm getting an error message on the views page after applying that patch:

Notice: Undefined offset: 1 in lightbox2_handler_field_lightbox2->render() (line 191 of /var/www/sites/all/modules/contrib/lightbox2/lightbox2_handler_field_lightbox2.inc).

And line 189 show this piece of new code that was added as part of the patch:

$imgsrc = $matches[1];