S3Field is the our new module for Drupal. The S3Field module allows users to upload images to the Amazon Simple Storage Service (Amazon S3).
There are some features you will get with this module:
- Batch file upload to the Amazon S3 with user-friendly interface.
- The files are uploaded directly from the user machine to the storage without your server in the middle. So it saves your server bandwidth.
- There are two thumbnails created and uploaded along with the original image. Thanks to the Image Uploader, we don't need to upload image to our server to create thumbnails, because Image Uploader can create them instead.
- Images are represented as a value of a CCK field. So it can be easily customized, providing additional formatters. (There are several sample formatters included in the module. You can use them as a reference of how to get URL to the uploaded images).
Follow these steps to install and configure module.
1. Download the
attached archive and extract it into the modules directory (usually
sites/all/modules).
2. Enable the
S3Field module at Administer -> Modules (
admin/build/modules).
3. Visit Administer -> Site configuration -> Amazon S3 CCK Field Settings (
admin/settings/s3field) to set Amazon S3 account settings and license key for the Image Uploader. Since the Image Uploader is a commercial product you need a valid license key for uploading files. If you need, you can get free trial key
here. This is the global settings and they are used by all S3 fields.
4. Create a new S3 field through CCK's interface. Visit Administer -> Content management -> Content types (admin/content/types), then click Manage fields on the type where you want to add an S3 field. Select
Amazon S3 Field as the field type and
Image Uploader as the widget type.
5. Set a bucket name and folder where to upload files. The bucket should be already created. The
Amazon S3 Path value should end with slash (/). It is not necessary, that the path already exists.
That is all! Open Create content (node/add) and create a node form for the type that you set up.
Thanks for reading.
Edited by moderator Sunday, September 4, 2011 10:04:24 PM(UTC)
| Reason: Not specified
File Attachment(s):
andreym attached the following image(s):