function _video_image_regenerate_thumbnail in Video 6.2
Same name and namespace in other branches
- 5 plugins/video_image/video_image.module \_video_image_regenerate_thumbnail()
- 6 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 423 - 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;
}
}