Excuse me for my English.
In a form I use the ImageField (esasyadmin 3) like this :
$img = ImageField::new(\'img\') ->setBasePath(\'images) ->set