Add webp and avif (or the media configured by the user in the global parameters) to here.
Images cannot be chosen in WEBP or AVIF format with this field.
Add $|\.webp$|\.avif to the string in libraries/src/Form/Field/ImagelistField.php
None
| Labels |
Added:
No Code Attached Yet
|
||
| Labels |
Added:
?
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-02-26 06:48:50 |
| Closed_By | ⇒ | alikon |
Thanks for your suggestion! As you already know how to resolve your request, would you like to make yourself a a PR for that? A more flexible solution could be replacing the hard coded list by a user defined list of allowed types.