Select multiple image with image widget

Hello,

I’m trying to add an image widget with the ability to add multiple images, but it doesn’t seem to work.

I can’t select multiple images (in the library) and when I click on add more image it replaces the one already selected.

Am I missing something?
Here is the code

Thanks

      - label: "Gallerie"
        name: "gallery"
        widget: "object"
        fields:
          - { label: "Name", name: "name", widget: "string" }
          - label: "Images Gallerie"
            name: "image_gallery"
            widget: "image"
            choose_url: false
            media_folder: gallery/
            allow_multiple: true
            media_library:
              config:
                multiple: true

Well, after some more tries, they are not displayed, but it is added well.

On the other hand, the multiple selection from the interface does not work?

For information, I am local, if it changes something.

Hi there! Thanks for your interest in Netlify CMS. Looks like you posted your question a little while ago, but that you haven’t received a solution yet. Here’s where you might get more help:

netlifycms.org - the site houses our extensive documentation that likely contains helpful information to get you back on track.

netlify cms slack - join our friendly slack channel and chat with other cms pros to get the help you need.

GitHub Issues - think you’ve found a bug, or would like to make a feature request? Make your voice heard here. Netlify CMS is open source - PRs and other contributions are also welcome!

Stack Overflow Check StackOverflow for questions tagged “Netlify CMS” if you don’t get an answer in the Slack or the GH issues. StackOverflow reaches a worldwide audience of knowledgeable people.

Your question will be left open here for anyone to comment - but we encourage you to check out the above resources if you are still looking for a solution!

The multiple property is meant for external media libraries, such as uploadcare. The internal image widget does not support it. Try nesting an image widget in a list widget to create a list of images instead.

thanks for reply,

I have seen this in another topic but I was not sure I understood correctly

Did you end up figuring this out? How did you set up your gallery? I am trying to do the same thing.

No I still haven’t succeeded

Hey y’all @kuwts + @McFly Netlify CMS is now DeCap CMS I’d encourage you both to reach out to them as they may be of assistance.

Yes I know but anyway it doesn’t change the problem since Decap CMS doesn’t include any change from NetlufyCMS for the moment

with a little research on the decap site I was able to solve this in about 10 minutes. Hope this helps

  • name: “image carousel”
    label: “Image Carousel”
    folder: “src/content/image-carousel”
    create: true
    slug: “index”
    media_folder: “”
    public_folder: “”
    path: “{{title}}/index”
    editor:
    preview: false
    fields:
    • {
      label: “Images”,
      name: “images”,
      widget: “list”,
      summary: “{{fields.image}}”,
      field:
      { label: “Image”, name: “image”, widget: “image” },
      }

the decap docs are better then the crap netlify cms ones which almost always lead one to think they need custom widgets.

If you need more fields for the images (ie. names etc) make sure you change “field” to “fields”… the above guidance led me in the right direction though. Nesting an image widget inside of a list widget! hopoe this helps!!!

Hello,

Thank you very much for this answer, I will try to apply it on StaticCMS because

following the static position of NetlifyCMS, the impossibility of contacting the team, the non-answers given by the so-called team, I migrated to Static CMS before the announcement of DecapCMS.

StaticCMS solves all the bugs that NetlifyCMS had been dragging out for over a year and a half, and the person managing the project is very active and attentive.

There have been huge improvements.

Congratulations again.