Media Source Type - S3
Last updated May 17th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn moreThe Amazon S3 Media Source Type¶
This media source type allows you to connect to an Amazon S3 bucket.
Available Properties¶
Name | Description |
---|---|
url | Required. The URL to the Amazon S3 instance. Often http://myaccount.s3.amazonaws.com/ or https://s3.amazonaws.com/myaccount/. If you're having issues seeing thumbnails but it works properly, make sure the url ends with a slash. |
bucket | Required. The bucket to connect the source to. |
key | Required. The Amazon key used for authentication to the bucket. |
secret_key | Required. The Amazon secret key for authentication to the bucket. |
imageExtensions | A list of file extensions that can be made into thumbnails. Default Value: jpg,jpeg,png,gif |
thumbnailType | When a thumbnail is displayed, the type of image it will be rendered as.Default Value: png |
thumbnailQuality | The quality of the rendered thumbnail, on a scale from 0-100. Default Value: 90 |
skipFiles | A comma-separated list of filenames to skip when browsing the source. Default Value: .svn,.git,_notes,nbproject,.idea,.DS_Store |