We can do that by providing an extra attribute in the macro:
CRUD::field('images')
->withMedia([ // customize some or all of the Backpack defaults
'uploader' => 'image', // do the same thing as you do for ImageField
'uploader' => (function($field, $mediaDefinition) {
return ImageField::name($field)->definition($mediaDefinition);
}),
]);
We can do that by providing an extra attribute in the macro: