mbizvietnam / Plupload-S3-Imgix

An exploration of using Plupload to upload files directly to Amazon S3 and then using Imgix for on-the-fly thumbnail creation using pre-signed S3 URLs as the origin for the web proxy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Plupload With Amazon S3 And Imgix In AngularJS

by Ben Nadel (on Google+)

In most of my Plupload demos, I've been uploading images and then using the full size image to render a "thumbnail"; but, now that I am learning about Imgix, for on-demand image processing, I wanted to see if I could use Imgix to build on-the-fly thumbnails for my Plupload demos. So, in this experiment, I am still uploading directly from Plupload to Amazon S3; but, when the thumbnails are rendered, they will be routed through Imgix:

User -> Thumbnail Url -> Imgix Cache -> Imgix Processor -> Amazon S3 Pre-Signed Url

The power of Imgix isn't just that it can do the image processing, which means freeing your servers up to do more "business stuff," it also means that we can change the thumbnail style and / or size on the fly. Pretty crazy awesome if you ask me!

About

An exploration of using Plupload to upload files directly to Amazon S3 and then using Imgix for on-the-fly thumbnail creation using pre-signed S3 URLs as the origin for the web proxy.

License:Other


Languages

Language:ColdFusion 44.9%Language:JavaScript 37.5%Language:CSS 12.7%Language:HTML 5.0%