advanced-nova-media-library icon indicating copy to clipboard operation
advanced-nova-media-library copied to clipboard

Filter existing media

Open pindab0ter opened this issue 3 years ago • 0 comments

I would very much like to filter existing media. If I upload a bunch of profile pictures and want to add a cover photo to my post, those profile pictures have no relevance to what I'm doing. I'd like to be able to do something like this:

Images::make(__('Photo'), 'post-photos')
    ->enableExistingMedia([
        'exclude' => [
            'profile-photos'
        ]
    ]),

pindab0ter avatar Jun 03 '21 12:06 pindab0ter