Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The following line looks for image fields. We use Imagefield crop which produces a field type of Image cropped. I might experiment with a patch if this is the only line to change.
$imagefields = videojs_utility::findFieldsByType($field, $entity_type, $bundle, array('image', 'link', 'file'));
Comment | File | Size | Author |
---|---|---|---|
#4 | videojs_add_imagefield_crop.patch | 666 bytes | peterx |
#1 | videojs_add_imagefield_crop.patch | 674 bytes | peterx |
Comments
Comment #1
peterx CreditAttribution: peterx commentedThe patch we are using on our site.
Comment #2
peterx CreditAttribution: peterx commentedComment #4
peterx CreditAttribution: peterx commentedComment #6
Jorrit CreditAttribution: Jorrit as a volunteer commentedFixed in 7.x-3.x-dev.