Comment montrer l'image dans EasyAdmin 3 Index Page
public function configureFields(string $pageName): iterable
{
return [
ImageField::new('imageName', 'Image')
->onlyOnIndex()
->setBasePath('/images/questions'),
ImageField::new('imageFile', 'Image')
->onlyOnForms()
->setFormType(VichImageType::class)
];
}
Attractive Armadillo