Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple media libraries #5901

Open
aminimalanimal opened this issue Oct 15, 2021 · 1 comment
Open

Add support for multiple media libraries #5901

aminimalanimal opened this issue Oct 15, 2021 · 1 comment
Labels
area: extensions/media-libraries area: media-library exp: expert type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@aminimalanimal
Copy link

aminimalanimal commented Oct 15, 2021

I would like to use Netlify CMS’s git-based media library for icons and Cloudinary for larger images and videos. If there is a way to set image management on a per field basis, I haven't been able to find it yet.

The image widget currently supports media_library configuration to occur within the field, but seemingly not selection.

What if setting media_library to null/false/local/netlify allowed the built-in media manager to take over?

  label: Icon
  name: icon
  widget: image
  media_folder: /assets/icons/
  media_library: netlify

This thought could go further, such as wanting to use multiple third-party services at once. Perhaps it should be possible to globally register multiple media libraries by name and choose which one is used per field.

@aminimalanimal aminimalanimal added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Oct 15, 2021
@tillschweneker
Copy link
Contributor

This would be great as it allows to use Netlify CMS even better as a page builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: extensions/media-libraries area: media-library exp: expert type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

3 participants