Closed (fixed)
Project:
Embedded Media Field
Version:
6.x-1.0-beta1
Component:
Embedded Media Thumbnail
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2009 at 21:24 UTC
Updated:
1 Jun 2010 at 21:30 UTC
A client has a situation where they cannot disable the custom thumbnail for a Embedded Video Field.
We had already tried the method here (http://drupal.org/node/227430) but that disables custom thumbnails altogether, and you should be able to turn if off on a per field basis.
Digging around I found the following worked but would like someone to verify this is the right to do it :-).
In emfield/contrib/emthumb/emthumb.module v 1.7.2.10, line 301:
function emthumb_emfield_widget_extra(&$form, &$form_state, $field, $items, $delta = 0, $module) {
// Add these two lines at the start of the function
if (! $field['widget']['emthumb'])
return NULL;
Comments
Comment #1
alex ua commentedIf you did it in this way you also wouldn't get the ability to upload a new thumbnail as well.
Comment #2
aaron commentedfixed at #638758: Fixes and improvements to emthumb