-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support multiple image selections with default media library #10
Comments
The |
Let me clarify: it seems the - label: "Featured Image"
name: "thumbnail"
widget: "image"
choose_url: true
default: "/uploads/chocolate-dogecoin.jpg"
media_library:
config:
multiple: true Either way, this is not yet supported by the default media library both in Decap CMS and Sveltia CMS. |
allow_multiple
-option of the image-widget not working
Does it actually work in Decap? decaporg/decap-cms#6730 is closed as duplicate but is not fixed yet, I think. It should work in Decap if Cloudinary is configured as the media library, though there is a bug: decaporg/decap-cms#5812 |
sorry my bad, i have try fast with decap
and here the ui work good, but when use other backend we have the same problem |
Ah the Test backend. I see. I’ll work on this anyway, but multiple image selection is not recommended because generally each image should have an alt text for accessibility and SEO. You can instead use the List widget: - name: thumbnails
label: Featured Images
widget: list
fields:
- name: src
label: Source
widget: image
- name: alt
label: Alt Text
widget: string |
The
allow_multiple
-option of the image-widget seems to not be supported.Or just the media-library does not support multiple-selection, which would make the option in line with the decap-cms-Doc
The text was updated successfully, but these errors were encountered: