Short description of what this feature will allow to do:
Add an option to display an image preview to the ImageField. Maybe passing a view (Twig) that would receive the entity/instance?
Example of how to use this feature
Here's a theoretical implementation:
ImageField::new('thumbnailName')->setPreviewTemplatePath('admin/media/thumbnail-preview.html.twig')
This view would be prepended or appended to the current file uploader.
I would have loved to propose a PR for such a request, but I currently don't understand how it would be possible.
Any help would be appreciated 😉
Short description of what this feature will allow to do:
Add an option to display an image preview to the
ImageField. Maybe passing a view (Twig) that would receive the entity/instance?Example of how to use this feature
Here's a theoretical implementation:
This view would be prepended or appended to the current file uploader.
I would have loved to propose a PR for such a request, but I currently don't understand how it would be possible.
Any help would be appreciated 😉