Drupal, Video: why the thumbnails image src links to a video instead of an image ?

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-06-03T08:40:08Z Indexed on 2010/06/03 8:44 UTC
Read the original article Hit count: 188

Filed under:
|

hi,

I'm using Video module with CCK Video Upload field and I want to play videos in a lightbox when the user clicks on video thumbnails.

I can select any option in the "Display Field" tab in "Content Type" settings, such as:

LightBox2: galleryVideo -> original

The src attribute of the thumbnail image always links to the video instead of the image... what's the reason of this bug ?

<a rel="lightbox[field_video][Video Number 2&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;/lancelmaat/content/stalkshow&quot; id=&quot;node_link_text&quot; class=&quot;active&quot;&gt;View Image Details&lt;/a&gt;]" href="http://localhost/lancelmaat/sites/default/files/files/projects/Stalkshow/videos/stalkshowdvd21Mbps.flv" class="lightbox-processed">

<img title="" alt="Video Number 2" src="http://localhost/lancelmaat/sites/default/files/imagecache/galleryVideo/files/projects/Stalkshow/videos/stalkshowdvd21Mbps.flv">

</a>

thanks

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-6