You are here

brightcove-cck-node-image.tpl.php in Brightcove Video Connect 6

Same filename and directory in other branches
  1. 6.2 brightcove_cck/brightcove-cck-node-image.tpl.php

brightcove-cck-node-image.tpl.php Image theme implementation.

This template is used when viewing a Brightcove video with a thumbnail or videoStill image without a link.

Available variables:

  • $output: Formatted image, ready for printing.
  • $image_field: The name of the image field used from Media API. Can be thumbnailURL or videoStillURL.
  • $nid: Node NID.
  • $video_id: Video ID from Media API.
  • $field_name: CCK Field name.
  • $type_name: Node type.

File

brightcove_cck/brightcove-cck-node-image.tpl.php
View source
<?php

/**
 * @file brightcove-cck-node-image.tpl.php
 * Image theme implementation.
 *
 * This template is used when viewing a Brightcove video with a thumbnail or videoStill image without a link.
 *
 * Available variables:
 *   - $output: Formatted image, ready for printing.
 *   - $image_field: The name of the image field used from Media API. Can be thumbnailURL or videoStillURL.
 *   - $nid: Node NID.
 *   - $video_id: Video ID from Media API.
 *   - $field_name: CCK Field name.
 *   - $type_name: Node type.
 *
 * @see theme_brightcove_cck_node_image()
 */
?>

<?php

if ($output) {
  echo $output;
}