-
Notifications
You must be signed in to change notification settings - Fork 73
Support multiple image selections with default media library #10
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
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 |
Update: I’m going to implement this sometime soon. Now-discontinued Static CMS has the |
Hi, I dont know if this issue is only meant for front matter, but I would love to have selector for multiple images as well in content, ideally within custom component (that is also not possible right now, right?) so I can create a component that would let me set 2 images next to each other, 3 images next to each other etc. That is probably only thing left in Sveltia (vs DecapCMS) why I cannot switch yet, sadly. |
I’ll work on this soonish and make sure multiple image selection works within a custom editor component. I guess it doesn’t work in Decap at this time, right? |
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: