VMG S3 Direct Upload
3rd Party (Free)
EE Version Support
- ExpressionEngine 2
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- jQuery for the Control Panel
An Amazon S3 direct upload tool that utilizes jQuery file upload and CORS and supports batch uploading directly to S3 thereby bypassing any memory, upload, and other server-side limits. This add on comes in the form of a field type and an EE control panel interface. One main use of this is to upload large files to S3 when otherwise you would run into memory, upload, and other server-side limits. Warning: If you are attempting to upload many large files to S3 at once, you might run into an issue where ExpressionEngine will log you out which will interrupt a S3 upload.
VMG S3 Direct Upload requires ExpressionEngine 2.5.0+ and PHP 5.3+
- Upload ee2/third_party/vmg_s3_direct_upload to system/expressionengine/third_party
- Upload themes/third_party/vmg_s3_direct_upload to themes/third_party
- Install the fieldtype by going to Add-Ons -> Fieldtypes
- Ensure that both the Fieldtype and Module are installed
- In order to get VMG S3 Direct Upload to work you have to enable CORS on your S3 bucket. Aws documentation on that can be found here: http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html#how-do-i-enable-cors
- Your CORS settings should look something like this: (note the AllowedOrigin is just a placeholder and should be changed to reflect your own website or IP address)
<CORSConfiguration> <CORSRule> <AllowedOrigin>http://0.0.0.0:3000</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>POST</AllowedMethod> <AllowedMethod>PUT</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>*</AllowedHeader> </CORSRule> </CORSConfiguration>
//VMG S3 Direct Upload Settings $config['vmg_s3_bucket_name'] = "super-cool-bucket"; $config['vmg_s3_access_key_id'] = "S3AccessKeyId"; $config['vmg_s3_access_key_secret'] = "S3AccessSecretHash"; //not required config items $config['vmg_s3_acl'] = "private"; $config['vmg_s3_storage_class'] = "STANDARD";
We’ve tested this with different ExpressionEngine Versions 2.5.5 and above and haven’t found any issues, but let us know if you find anything it doesn’t work with. It’d be helpful to supply relevant version numbers.
VMG S3 Direct Upload requires ExpressionEngine 2.5.0+ and PHP 5.3+.
There’s no warranty of any kind. If you find a bug, please report it or submit a pull request with a fix. It’s provided completely as-is; if something breaks, you lose data, or something else bad happens, the author(s) and owner(s) of this add-on are in no way responsible.
This add-on is owned by Vector Media Group, Inc. You can modify it and use it for your own personal or commercial projects, but you can’t redistribute it.
VMG S3 Direct Upload Links
This entry was created September 22, 2014, 9:30 am.
This entry was last updated September 22, 2014, 3:09 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email email@example.com.