Question: I found useful article about uploading image using Active Storage in activeadmin: <https://medium.com/@maris.cilitis/using-ruby-on-rails-active-storage-image-uploads-for-active-admin-backed-resources-5638a9ca0b46>

But how to upload multiple images in activeadmin with Active Storage the same way?

Answer: 
You just need do some changes

model:

```
has_many_attached :images

```

instead of 

```
has_one_attached :image

```

activeadmin:

```
permit_params images: []

form do |f|
  f.inputs do
    f.input :images, as: :file, input_html: { multiple: true }
  end
end

```

and you'll can choose many files to upload
This works for me, upload and show multiple images in active\_admin using active storage.

```
ActiveAdmin.register Post do

  permit_params :content, :published, :user_id, :images => []

  form html: { multipart: true } do |f|
    f.inputs "Publication" do
      f.input :user
      f.input :content
      f.input :published
      f.input :images, as: :file, input_html: { multiple: true }
    end

    f.actions
  end

  show do
    attributes_table do
      row :images do
        div do
          post.images.each do |img|
            div do
              image_tag url_for(img), size: "200x200"
            end
          end
        end
      end

      row :content
      row :published
    end
  end
end

```