Restrict pagemedia upload to only images

hi everyone, is it possible to restrict pagemedia upload to only images ? not the the type: file but type: pagemedia

The media.yaml or the Media tab in the admin config let’s you configure which media files are allowed by Grav.

thanks @rhukster but how to that on a specific page blueprint ? or modular, because if i change media.yaml it’s for all field: pagemedia

Yes there is currently no ability to limit media types per page.

thanks @rhukster. Is it worth opening issue (enhancement ) ?

Of course, open an issue here, so we don’t forget.