spicywebau / craft-embedded-assets

Manage YouTube videos, Instagram photos, Twitter posts and more as first class assets in Craft CMS
MIT License
171 stars 34 forks source link

Limit Asset Selection by Type #229

Open brianrivet-tilt opened 1 year ago

brianrivet-tilt commented 1 year ago

What would you like to see added to or changed in Embedded Assets, and why?

I don't know if this is possible, but it would be nice to have Embedded Asset with subtypes available as a possible checkbox option in the allowed asset types on an asset field if the plugin is installed.

ttempleton commented 1 year ago

This isn't possible with an Assets field, since we're not able to modify the field settings HTML. The suggestion of adding field settings based on Embedded Asset properties has come up before, though, and it makes sense to have those options in the field settings, so when I get a chance I'll look into adding an Embedded Assets field type to extend the Assets field type.