You are here

function _video_image_regenerate_thumbnail in Video 5

Same name and namespace in other branches
  1. 6 plugins/video_image/video_image.module \_video_image_regenerate_thumbnail()
  2. 6.2 plugins/video_image/video_image.module \_video_image_regenerate_thumbnail()
1 call to _video_image_regenerate_thumbnail()
_video_image_submit in plugins/video_image/video_image.module

File

plugins/video_image/video_image.module, line 314
Enable image support for video module.

Code

function _video_image_regenerate_thumbnail(&$node) {
  $field_name = module_invoke('video_' . $node->vtype, 'v_auto_thumbnail', $node);
  if ($field_name) {
    $node->tempimage = _video_image_temp_image_store($field_name);
    $node->new_image = TRUE;
  }
}