# 🛠 ᴺᴱᵂ ᴾᴸᵁᴳᴵᴺ AWS S3 Dropzone & Utilities - Image Resize, Audio & Video Compression, Multi-Region, Parallel & Resumable & Multi-Part uploads, Folder support!

**URL:** <https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403>\
**Category:** Showcase\
**Created:** [April 2, 2021, 1:48pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403 "2021-04-02T13:48:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [April 2, 2021, 1:48pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/1 "2021-04-02T13:48:55Z")

</div>

Hi Bubblers !

This plugin contains a set of AWS utilities to either support AWS operations of our plugins, or using it as standalone.

To use these actions in conjunction with our plugins, please refer directly to the plugin instructions.

The following element for AWS S3 is provided:

- AWS S3 Dropzone visual element

The following actions for AWS S3 are provided:

- Get Upload Presigned Expiring URL
- Generate Download Presigned Expiring URL
- Put File to S3 (Backend)
- Get File Base64 DataURI from S3
- Put Base64 DataURI to S3 (Backend)
- Delete File from S3
- Get File Metadata from S3
- List Files from S3
- Copy File between S3 Buckets
- Set File Public Access on S3
- Create Bucket in S3
- Delete Bucket from S3

The following actions for AWS SQS are provided:

- Get Job Status from SQS

You can test out our [AWS S3 & SQS Utilities Plugin](https://bubble.io/plugin/aws-s3--sqs-utilities-1615057147611x666191530957733900) with the [live demo](https://awsutilitiesdemo.bubbleapps.io/version-test).

[![](https://media.amazonwebservices.com/blog/2014/s3_notification_flow_2.png) ](https://media.amazonwebservices.com/blog/2014/s3_notification_flow_2.png)

Enjoy !  
Made with 🖤 by **wise:able**  
Discover our other [Artificial Intelligence-based Plugins](https://bubble.io/contributor/wiseable-1586609424436x711052886532460500)

---

<div class="post-metadata">

**Author:** ![maru](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@maru](https://forum.bubble.io/u/maru)\
**Post date:** [July 26, 2021, 10:32am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/2 "2021-07-26T10:32:56Z")

</div>

Hi @redvivi  
Great plugin, works well and super easy to use!

Unfortunately all files (only .jpeg and .png images) that are uploaded to my S3 bucket are saved there with metadata “application/octet-stream”. When accessing the file in the bucket, the header includes this metadata, which makes the files unusable for most other applications.  
Can you update the plugin so the right Content-Type Metadata is applied to files that are uploaded (e.g. image/png in my case).

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/5/a5b79cf1dbceea61deea7b85b404f462d8daa01e.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [July 29, 2021, 2:17pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/3 "2021-07-29T14:17:12Z")

</div>

Hi @maru !

Great suggestion!

As Mime-Type detection is not foolproof, we have just added “Content-Type” as a dynamic input parameter to our plugin action, so you can either set it manually, or using the following plugin to detect the Mime-Type.

> **[File & Media Type Detector Plugin for Bubble, by wise:able](https://bubble.io/plugin/file--media-type-detector-1617274346635x762023539115032600)**
>
> File & Media Type Detector Plugin page on Bubble, by wise:able. Add File & Media Type Detector in one click to your app. Bubble lets you build web apps without any code.

Should you need further assistance, we are always here to help! 🙂

---

<div class="post-metadata">

**Author:** ![christo1](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@christo1](https://forum.bubble.io/u/christo1)\
**Post date:** [August 3, 2021, 1:10am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/4 "2021-08-03T01:10:10Z")

</div>

How would I view the file that the plugin gets? I am getting the datastream and also tried the datastream’s URL and datastream saved to s3 and nothing shows up in the pdf viewer despite the file being a pdf? The situation is that I have a private S3 bucket and want to display the file in my bubble app after getting it with your plugin. How would I go about this?

I can get the raw unusable data stream but cannot get any values when I select file name, URL or saved to s3. So I know the plugin is connecting to AWS, I am just unable to make any use of the retrieved file. The only ones giving any data is the datasteam and the datastream URL (which is not a URL, but the raw datastream itself). Not sure how the get function is useful at all??

It might be helpful if the plugin included the ability to pre-sign a file URL so it can be viewed within Bubble or publically if required.

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [August 3, 2021, 10:15am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/5 "2021-08-03T10:15:45Z")

</div>

Hey @christo1 !

Thanks for your message!

> [@christo1](#):
>
> The situation is that I have a private S3 bucket and want to display the file in my bubble app after getting it with your plugin. How would I go about this?

> [@christo1](#):
>
> The only ones giving any data is the datasteam and the datastream URL (which is not a URL, but the raw datastream itself). Not sure how the get function is useful at all??

It mostly depends on the front-end elements you are using.  
For instance, raw data returned by the **Get File from S3** plugin action may be directly used by audio player elements, so you can use this action to directly retrieve audio-stream from AWS S3.

If the front-end element is only supporting URLs (and not data-URI) as input parameter, then the best is to reconstruct the AWS S3 file URL from the URN output of the **Put File to S3** plugin action, as per the plugin documentation:

> [@](#):
>
> Output Fields :  
> - URN : Returns the Unified Resource Name of the stored file. Use this URN to reconstruct the URL such as [https://s3](https://s3).[Region].amazonaws.com/[URN]. Format is bucket/[path/]file.ext.

Of course this would require to set your AWS S3 Bucket as “semi-public”, e.g. allowing anybody to Get a file given its URLs, but NOT List the content of the bucket, so only the URLs known to the user are accessible.

Should you require pre-signed unique file URLs (keep in mind that these pre-signed URLs are only valid for a specific period of time, so they would mostly need to be generated prior to each retrieval), please reach us directly in DM, we would be happy to customise the behaviour to meet your use-case.

---

<div class="post-metadata">

**Author:** ![christo1](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@christo1](https://forum.bubble.io/u/christo1)\
**Post date:** [August 3, 2021, 8:28pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/6 "2021-08-03T20:28:21Z")

</div>

Thank you for taking the time to clarify

---

<div class="post-metadata">

**Author:** ![emaclassificados](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emaclassificados/32/139208_2.png) [@emaclassificados](https://forum.bubble.io/u/emaclassificados)\
**Post date:** [August 17, 2021, 10:30pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/7 "2021-08-17T22:30:24Z")

</div>

Can i upload more then one file?

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [August 23, 2021, 6:14pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/8 "2021-08-23T18:14:40Z")

</div>

Hi @emaclassificados!

Thanks for your message and apologies for the time to answer.  
Should you want to upload more files, we would recommend to loop on a list, there is a plugin called **Simple looper (workflow repeater)** that may be useful on this.

> **[Simple looper (workflow repeater) Plugin for Bubble, by Vinicius Brito from UB...](https://bubble.io/plugin/simple-looper-workflow-repeater-1618892957212x885363265747026000)**
>
> Simple looper (workflow repeater) Plugin page on Bubble, by Vinicius Brito from UB - Your custom plugin shop. Add Simple looper (workflow repeater) in one click to your app. Bubble lets you build web apps without any code.

We have implemented this workflow repeater on another [demo editor](https://bubble.io/page?type=page&name=bulk-emails&id=awssesdemo-editor&tab=tabs-2), but the principle remains the same: You construct a list of URLs and file names, and any other parameter that you want to take pass into the **Put File to S3** action.

Let us know if you need more clarification.

---

<div class="post-metadata">

**Author:** ![emaclassificados](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emaclassificados/32/139208_2.png) [@emaclassificados](https://forum.bubble.io/u/emaclassificados)\
**Post date:** [October 2, 2021, 10:06pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/9 "2021-10-02T22:06:55Z")

</div>

Thanks for the answer.

Maybe I didn`t understand well or I did not explained the question very well too.

Is there any way to upload more than one image when you click in the upload box just once? (Like when you use the multi file upload)

let`s say I have 20 pics:

I need to repeat again and again 20 times (click on the upload image \> open the search box in my computer \> select only one image) instead to click in the upload image one time and then show me the search box in my computer that i can select 20 pictures to upload just once.

- The loop works for this situation?

- Can I use multi-file to upload the image?

- The multi-file uploader works with your plugin to put a list of url`s on my S3?

(it would be great if it worked like that. it is a very good improvement)

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [October 9, 2021, 8:55am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/10 "2021-10-09T08:55:39Z")

</div>

Hey @emaclassificados!

As mentioned before, the way to achieve this would be to create a repeating group of file uploader elements. You will still need to select each image individually to populate each file uploader elements.

Your repeating group consists now of a list of file uploader elements, referring to your images, then using the [looper plugin](https://bubble.io/plugin/simple-looper-workflow-repeater-1618892957212x885363265747026000), you can trigger a workflow to loop on this list. So with one click on the upload button, you upload all the images.

If this does not suit your use-case, please reach to us via DM for further assistance.

---

<div class="post-metadata">

**Author:** ![GH5T](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gh5t/32/209141_2.png) [@GH5T](https://forum.bubble.io/u/GH5T)\
**Post date:** [June 6, 2022, 6:43am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/11 "2022-06-06T06:43:41Z")

</div>

I’m not sure how to use this… at all.

I’ve read up on the docs, but I’m not sure how to actually use this efficiently. Can you include WHY A PRESIGNED URL WOULD BE BENEFICIAL, and an actual “demo/use-case” for it?

Also, maybe a demo on how to display said files or list said files. I keep getting a “403 Forbidden” error when I try to view the file after I upload to a bucket. The buckets settings are even 100% public and it still says it.

Maybe I’m stupid and their is some resource out there to explain my issues, but I am here and using your plugin, so if you could explain how to utilize it to the “noob” type people like me, that would be great.

My goal is a user uploads a file, and they can view it along with others. The other thing is _possibly_ explaining how we can setup the permissions correctly. All you state is add credentials to api. That’s not much in explanation. I tried everything, and I just cannot figure out the issue.

Okay, here’s my solution:

Add a policy:

```
    {
   "Version":"LATEST VERSION DATE",
   "Statement":[
      {
         "Sid":"AllowPublicRead",
         "Effect":"Allow",
         "Principal":{
            "AWS":"*"
         },
         "Action":"s3:GetObject",
         "Resource":"arn:aws:s3:::YOUR-BUCKET-NAME/*"
      }
   ]
}

```

And that was pretty much it. I had to open my bucket publicly as well.

Doh!

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [June 6, 2022, 12:08pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/12 "2022-06-06T12:08:20Z")

</div>

Hey @GH5T !

Thanks for your message.

Here are a few comments :

> [@GH5T](#):
>
> Can you include WHY A PRESIGNED URL WOULD BE BENEFICIAL

An explanation of the benefits is included in the [Instructions](https://bubble.io/plugin/aws-s3--sqs-utilities-1615057147611x666191530957733900) section, but perhaps it is not exactly what you expect:

> GENERATE PRESIGNED EXPIRING URL generates an URL allowing access to the specified object, expiring after the specified duration. The presigned URLs are useful if you want your user/customer to be able to download a specific object from your bucket, but you don’t require them to have AWS security credentials, permissions, nor bucket public access.

> [@GH5T](#):
>
> and an actual “demo/use-case” for it?  
> Also, maybe a demo on how to display said files or list said files.

Using presigned URL (which always expire) is available on the demo of our plugin : [AWS Utilities Plugin Demo](https://awsutilitiesdemo.bubbleapps.io/version-test)

> [@GH5T](#):
>
> I keep getting a “403 Forbidden” error when I try to view the file after I upload to a bucket. The buckets settings are even 100% public and it still says it.

A current limitation of the AWS implementation of the presigned URL is that it doesn’t check if the file actually exists before generating the URL, which means that if you enter a wrong filename, a presigned URL will be generated but as the target file doesn’t exists, will always end up in 403 (note: that’s definitely something to be improved and we are taking note of this for our roadmap).  
That would explain as well why you do still encounter this error despite your bucket being public.

Can it be the issue you are facing?

---

<div class="post-metadata">

**Author:** ![GH5T](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gh5t/32/209141_2.png) [@GH5T](https://forum.bubble.io/u/GH5T)\
**Post date:** [June 6, 2022, 6:35pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/13 "2022-06-06T18:35:08Z")

</div>

I forgot to label my post as EDITTED.

I found out my issues, and fixed them 🙂

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [June 6, 2022, 8:58pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/14 "2022-06-06T20:58:20Z")

</div>

Great @GH5T !  
What was the issue? So I can improve what is required.

---

<div class="post-metadata">

**Author:** ![GH5T](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gh5t/32/209141_2.png) [@GH5T](https://forum.bubble.io/u/GH5T)\
**Post date:** [June 6, 2022, 9:21pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/15 "2022-06-06T21:21:02Z")

</div>

My issue was that I’m new with S3, and don’t understand it fully yet. I had to do some research to figure out how to make my bucket work with my site.

---

<div class="post-metadata">

**Author:** ![GH5T](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gh5t/32/209141_2.png) [@GH5T](https://forum.bubble.io/u/GH5T)\
**Post date:** [June 7, 2022, 3:04am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/16 "2022-06-07T03:04:13Z")

</div>

Okay, so wondering if you can RETURN an uploaded files FILE SIZE?

I need this cause I compress with another service, then upload to S3, then update my DB with the new link. I’m not able to return the updated filesize anywhere. If you know of another work around, that’d be great. I’m up for even adding custom JS if I need to.

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [June 7, 2022, 9:03am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/17 "2022-06-07T09:03:17Z")

</div>

If you are using the Bubble uploader prior to uploading to AWS S3, the file size is already available as state of the element.

![Screen Shot 2019-11-13 at 10.38.18 PM](https://us1.discourse-cdn.com/bubble/original/3X/4/7/47e914d79a2c43593e3965141a9381cca1306c21.png)

Can you use it in your use-case, or does the compression occurs afterwards?

---

<div class="post-metadata">

**Author:** ![GH5T](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gh5t/32/209141_2.png) [@GH5T](https://forum.bubble.io/u/GH5T)\
**Post date:** [June 8, 2022, 6:07am UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/18 "2022-06-08T06:07:54Z")

</div>

I temporarily store the file, scan it, then compress & upload if the scan is negative.

I can retrieve the data before that process, but after I PUT the file, there is no way for me to retrieve the filesize.

Maybe make a small plugin with this to collaborate with it? Like… Retrieve properties S3 Object

---

<div class="post-metadata">

**Author:** ![MarkusBoostedApp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/markusboostedapp/32/54395_2.png) [@MarkusBoostedApp](https://forum.bubble.io/u/MarkusBoostedApp)\
**Post date:** [June 30, 2022, 4:38pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/19 "2022-06-30T16:38:12Z")

</div>

Are there any filesize limits?

---

<div class="post-metadata">

**Author:** ![redvivi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/redvivi/32/59955_2.png) [@redvivi](https://forum.bubble.io/u/redvivi)\
**Post date:** [June 30, 2022, 4:52pm UTC](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403/20 "2022-06-30T16:52:38Z")

</div>

Yes, the file size limits are stated in the plugin documentation: [AWS S3 Dropzone & SQS Utilities Plugin | Bubble](https://bubble.io/plugin/aws-s3--sqs-utilities-1615057147611x666191530957733900)  
These limits exist as this plugin uses server-side action which have a max execution duration.

Using the AWS S3 Dropzone element of this plugin @MarkusBoostedApp , there are 5GB file size limit.

Also, this plugin has the advantage to allow to use AWS S3 backend actions without relying on any user trigger.

[Next page](https://forum.bubble.io/t/aws-s3-dropzone-utilities-image-resize-audio-video-compression-multi-region-parallel-resumable-multi-part-uploads-folder-support/144403.md?page=2)
