As MoreGallery works through the media sources API, if you configure your media sources correctly to use Amazon S3, that will work with MoreGallery. I think there’s a few small features that only work with the filesystem, but nothing major that should be getting in your way.
Step 1 is to get your media source working in MODX. The MODX documentation on that is sparse, but it’s basically a matter of entering the right credentials into the media source configuration.
For an AWS bucket in Ireland (EU-WEST-1 region), I used this information:
- url: https://name-of-bucket.s3.amazonaws.com/
- bucket: name-of-bucket
- key: my AWS key, this is managed I believe in the IAM section of the AWS dashboard. This authentication also needs access to S3.
- secret_key: the associated secret key (password)
- region (create this property, if it doesn’t exist): eu-west-1.
The exact information will depend on your bucket location and login. Test it against the files tree, before moving to use it in MoreGallery.
Once you know it works in the file tree, then you can tell MoreGallery to use it. This is done with the system settings by going to System > System Settings in your manager, and choosing
moregallery in the dropdown that defaults to core. There, under the Storage, you’ll find the settings
moregallery.source_relative_url. Set the first one to your S3 media source, and the second to the path within the bucket where you would like to store the media.
That should do the trick.
At the moment the MODX browser does not support multiple selection, so we’re not able of adding multiple imports at once at the moment. You can upload multiple images at the same time, that might be a quicker way to get all images added.