Amazon S3 different image dimensions with query string parameters -
Amazon S3 different image dimensions with query string parameters -
i need store different dimensions of image on s3. new aws services, taking time me figure out how can accomplish this.
say have image called abc.png. want different versions of image using query string parameters, i.e apc.png?s=medium medium 400x400, , abc.png?s=large 1200*1200. not want preprocessing, or on fly resizing.
is there way on s3 level only?
the s3 api doesn't allow selecting different file through query string. set size in image path instead: /medium/apc.png
or /apc.png/medium
. don't forget set content-type
alternative appropriate mime type each s3 object, should allow browser render images correctly.
amazon-web-services amazon-s3
Comments
Post a Comment