You are here

function _video_image_regenerate_thumbnail in Video 6

Same name and namespace in other branches
  1. 5 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_presave in plugins/video_image/video_image.module

File

plugins/video_image/video_image.module, line 375
video_image.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;
  }
}