The Simple S3 Uploader is a file upload field for EE1 and EE2 that stores the files on Amazon S3. It can resize images and generate thumbnails prior to upload. Check out the full feature list and information about this add-on at our site or devot:ee. This add-on is priced at $29 per license and can be purchased through the devot:ee store.
Simple S3 Uploader is so perfect. But I don’t know how to upload file through SAEF. I tried the example form you posted in [EE Forums] Simple S3 Uploader Forum Thread - Archived. It doesn’t work on my web page. I cannot see the file upload control at all - all I can see is the custom field name itself {areaOfInterest}. I noticed that Simple SAEF Enctype is required in SAEF. But it’s only compatiable with EE1. My form is here: here. I’d appreciate it if you can give me any advice - especially a working example of a form on a web page created using EE2. Thanks in advance!
unfortunately the SAEFs in EE2 don’t have the functionality that the SAEFs in EE1 had when paired with FieldFrame. Currently there is no support for using {custom_field_name} in EE2 for third party fieldtypes.
On the upside, it isn’t too difficult to hard code the necessary functionality for the Simple S3 Uploader fieldtype, since it’s pretty much just a regular old file upload field.
On my test installation, my Simple S3 Uploader custom field is field_id_6 and this is the minimum code to get it to work in a SAEF:
Hi Ty, so if the upload field is hard coded as you pointed out above, will all the other features of S3 Uploader work as normal? Or have I misunderstood?
everything should work if you hardcode like this. you’ll need different code to support editing the entry via standalone edit form, but this will get the file uploaded to S3 and the data will be saved to the entry properly for use in templates.
that said, I tested this for about 5 minutes, so if there are problems please let me know
I’ll need to buy it first but it’s looking like I will be. Is there any type of file upload progress indicator to let the user know something is going or to indicate when a file has finished uploading?
nope, PHP doesn’t give us file upload progress info by default. The workarounds require software installation and PHP recompliation that most users won’t be able to accomplish, flash (eww), or perl scripts. Currently I’ve also avoided the javascript requirement, though I’m slightly less opposed to bending on that if there’s a good reason.
(Apologies to EllisLab for posting this here but after getting half a dozen people asking for updates via PM or the contact form at our site all wondering how to talk about this add-on now that the previous forum thread got archived, it’s pretty clear that people were thrown for a bit of a loop.)
No need to apologize. In fact, your post and this discussion are exactly what we are hoping to see in the Community News forums. The way this post/discussion is going is exactly how we hoped. It gives you a place to tell people about the add-on and answer questions, have discussions, etc… We want to encourage conversation and learning, we just ask that actual tech support be done on your own site or privately.
Now I have another question. I set image width as 200 and image height as 100 in S3 settings. Then I uploaded image whose original size is 600*400 and opened the image by using tag {custom_field_name} and {custom_field_name:authenticated_url). The image size wasn’t changed. I also changed thumbnail width and height, and size of thumbnail wasn’t changed either. Why image resize setting doesn’t work?
The webpage is here
I copied your settings to my test installation and it resized the image as expected. We’ll have to take this discussion to someplace other than the forums since EllisLab doesn’t want third party support taking place in these threads now. I’ll follow up with you via PM and we can take it from there.
I was surfing the web and came across this article discussing some of the finer points of color management and gamma error in image manipulation software. Long story short, version 1.3.2 of the simple s3 uploader now has, in my opinion, the best image resizing algorithm available to ExpressionEngine. All image resizing now is done using proper color management, and PNG-24 images will have their alpha layer transparency preserved as well.
This seems to be the (almost) perfect solution for uploading to S3 in EE. I just have a question.
Is it possible to retrieve the file using CloudFront instead of getting the file directly from the bucket? I’ve been looking in the Settings and in the Documentation but I didn’t find anything about this.
Also, what happens is someone uploads a really huge file? Like a 400MB video, for example. Does it depend on my PHP upload limit?
you can set cloudfront to distribute your S3 bucket(s), you’d set this up in the cloudfront console. when it comes time to output the cloudfront url in your templates you’d use the :s3_filename tag (http://emarketsouth.com/add-ons/simple-s3-uploader/template-tags/) to build the proper url (using the cloudfront domain you set up in the console).
uploading a really huge file is supported to the extent that your server’s php.ini/.htaccess settings allow it (though you can have it limited further by setting a file size limit in the S3 uploader field settings).
Now excuse me if I’m being ignorant (it’s 4am here and I’m tired), but can I get the :s3_filename AND the :authenticated_url to work at the same time? As in, getting a signed CloudFront URL.
Thank you for your reply. I guess I’ll leave video uploading to the FTP then.
cloudfront supports serving private content. this document describes it better than I could.
basically the :authenticated_url tag is just for authenticating downloads from the bucket. It cannot be used to authenticate cloudfront urls at this time.
In order to get this to work, you’ll need to create the cloudfront origin access identity, give it access to your S3 files, set up the distribution, remove public read permission from that distribution, create a key pair, require signed urls, and create a signed url for anyone you want to give access to the file each time they request it.
All of this is very possible, it’s just not built into this add-on at this time. You can still use the add-on to upload the files to your bucket.
Let me know if there’s anything I can do to assist.
Just bought this, hoping it will help my project but I can’t seem to get it to work either adding an image file directly though the publish area or from a SAEF.
Do I need the Simple SAEF Enctype extension? I am using EE 2.1.
When I upload an image via the publish entry cpanel area once submitted the view entry preview EE shows outputs this: czowOiIiOw==