I'm not sure this can be done, but in my opinion it should work just the way you want it to work.
Registerer it as a feature request on https://feedback.episerver.com/ - and you'll get my vote!
Yes I would expect it to work that way.. At least it's not possible to click on generic files and "OK" to add them (OK button will be greyed out).
Thanks for answering, I will add it as a feature request.
Episerver CMS version: 126.96.36.199
We have a ContentReference property with the [UIHint(UIHint.Image)] attribute set on it.
When inside the CMS and choosing a new image to this property, the imagepicker window pops up and there we get a list of images - which is what we want. But when we are searching for images using the search bar in the top, not only images appears, but generic files as well. We want this search to only display image files. Any ideas how this can be done? In the last image here you can see that we get .rtf files, but we can also get .txt files, .pdf files and so on in this search result.