Have a look at
There are many more functions besides resizing.
In your case you would store one image an an S3 bucket and the link to the image will do the rest.