Hello,

First of all, thank you very much for this cool module. Love it! Very user-friendly and very nice!

I don't know whether to mark this is as a feature-request or support-request, but here it goes:

I use Drigg module on my site, where I try to construct a small community social bookmarking and citizen-journalism site (sort of like Digg, Newsvine and Indymedia).

When someone posts a URL link to a video (eg YouTube, GoogleVideo, etc), Drigg module automatically creates a thumbnail of that video in the teaser. (see the attached screenshot) That teaser thumbnail links to the actual node (on my drupal site) where the YouTube video is embedded (it does not link to the YouTube URL, even though it can).

What would be absolutely awesome is if the end-user clicks on that teaser thumbnail and the embedded video opens up in a Lightbox (like this http://drupal.org/files/issues/Digg_videos_played_in_a_Thickbox.gif) . Initially I thought that this was a Thickbox, but then I used firebug to see what Digg.com is using for that feature, and it turns out to be "Lightbox"!!!

I opened a feature-request for this in Drigg (http://drupal.org/node/240405). The maintainer of Drigg is Mercmobily. If it was a code related integration, Mercmobily would do it, but he is convinced that this is no more than a theming issue, and cold easily be done on the theme level.

I tried adding rel="lightbox" to the thumbnail inside node-drigg.tpl file , like this:

<?php if ($node->teaser && $embedded_stuff) { ?>
      <div class="embedded-teaser" rel="lightbox">
        <?php print $embedded_stuff ?>
	  <div id="watermark_box"><img src="/sites/all/themes/mycooltheme/img/video_watermark2.gif" class="watermark" alt="Watermark image" / ></div>
      </div>
    <?php } ?>

... but it didn't work

Is this a theming issue? Or is there more to it?

What would I (as well as Drigg maintainer) need to do to get this to work?

Many thanks in advance!!!

CommentFileSizeAuthor
screenshot_watermark_result.gif3.05 KBdrupalina

Comments

stella’s picture

Category: support » feature
Status: Active » Fixed

It's not a simple theming issue and involves a lot of javascript changes. However this should now be available in the latest dev release. See the online documentation for more details - http://drupal.org/node/144488

Cheers,
Stella

stella’s picture

Released in Lightbox2 6.x-1.6 and 5.x-2.6.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.