4 ms·
I wish Cloudfront supported resize parameters so we wouldn't have to keep buildings these or paying a lot for Imgix.
by kylehotchkiss 9y ago
I wish Cloudfront supported resize parameters so we wouldn't have to keep buildings these or paying a lot for Imgix.
- fleitz 9y agoHow much would you pay for an image resizing service? I'd been thinking for a while of putting a fleet of autoscaled thumbor boxes behind cloudfront and making a billing API for it.
- deleted 9y ago[deleted]
- kylehotchkiss 9y agoImgix's $10 minimum is so much for a personal site with maybe 500 uniques a month. If you're going for a service like that, think of people like me who host on s3/cloudfront for $.20/month. But let people scale up to millions of pageviews a month. Don't need anything fancy. Just w=? h=? would be great, developers can handle the DPI stuff with sourceset tags.
- manigandham 9y agoCloudinary is free. https://cloudinary.com/pricing https://cloudinary.com/pricing
- abeach222 9y agoYou can use lambda edge functions for this. They recently announced support for query string parameters. https://aws.amazon.com/about-aws/whats-new/2017/10/lambda-at-edge-now-provides-access-to-query-string-parameters-country-and-device-type-headers/ https://aws.amazon.com/about-aws/whats-new/2017/10/lambda-at... I have built an image resizing service around this with go and libvips. With go libvips, s3gof3r, you can load s3 images directly into a buffer, pass to libvips, and serve without writing to disk. Basically, you can use edge functions with your origin as the above go service.