10MB max per image seems extremely low for 2021.
Not really. The 90th percentile of desktop web pages load less than half that much image data across all images on the page: https://almanac.httparchive.org/en/2020/page-weight#image-by... A 10MB limit per image seems like it will cover everything but outliers.
Cloudflare Images Now Available to Everyone
61–70 of 91 posts
Re: Cloudflare Images Now Available to Everyone
#62Earlier quoted context omitted.
This isn't "store my phone camera roll", it's "deliver images on the Internet". If you look at https://httparchive.org/reports/state-of-images?lens=top1m&s... for 2021 you'll see images are way smaller than 10MB on the web.
but this is an image resizing service, right? shouldn't you be uploading the highest quality original source? I would've thought the workflow for these would be to upload a high quality source, and then the service creates lower quality/optimised variants. I guess you have a limit as it is priced on total images stored and not storage/cpu used...
Re: Cloudflare Images Now Available to Everyone
#63Images up to 10MB in size. Aren’t most photos taken by recent phones > 10MB? I know my DSLR pictures certainly are. Asking out of curiosity. I am not the target audience for this product.
Sure the raw images are large, but websites rarely display images in their original format. Generally for display on websites images are at least compressed if not scaled down significantly. Here is an example I just pulled off the front page of the NYT website. I'm sure it was originally a 10+MB image taken on a iphone or DSLR but it was compressed/scaled down to a 510kb webp image for display on the web. https://st…
Re: Cloudflare Images Now Available to Everyone
#64Is there a use case here for an org that stores original, unresized images in S3 and JIT resizes them on the fly with Cloudflare workers?
Re: Cloudflare Images Now Available to Everyone
#65Images up to 10MB in size. Aren’t most photos taken by recent phones > 10MB? I know my DSLR pictures certainly are. Asking out of curiosity. I am not the target audience for this product.
This isn't "store my phone camera roll", it's "deliver images on the Internet". If you look at https://httparchive.org/reports/state-of-images?lens=top1m&s... for 2021 you'll see images are way smaller than 10MB on the web.
EDIT: I just checked, 2.5% of source images are over 10mb.
An easy solution might be to have it accept an upload of a larger file, but automatically scale it down to fit under 10mb and then only store that as the new original.
Re: Cloudflare Images Now Available to Everyone
#66Earlier quoted context omitted.
Typo on the last one, should be: 50KB = 5GB = $0.20 per GB Which would make you want to break out the old school spriting tools :) I guess don't serve thumbnail galleries from CF.
The 'variants' include different sizes, and: > You only pay for original images; not variants https://developers.cloudflare.com/images/faq
Re: Cloudflare Images Now Available to Everyone
#67Earlier quoted context omitted.
Typo on the last one, should be: 50KB = 5GB = $0.20 per GB Which would make you want to break out the old school spriting tools :) I guess don't serve thumbnail galleries from CF.
IIRC regular cloudflare will still cache assets for free. This tool is specifically for people who don't want to write a pipeline to do image resizing/optimization themselves. If you're able to write your own pipeline to do sprite sheets, you probably don't need this service to begin with. Just preprocess everything yourself and serve those at $0 per gb.
Re: Cloudflare Images Now Available to Everyone
#68Earlier quoted context omitted.
This is already supported. You create a worker that understands your URL scheme, and requests images via Cloudflare with the desired size/parameters: https://developers.cloudflare.com/image-resizing/resizing-wi... Or, you can just use Cloudflare's built-in URL scheme for resizing arbitrary URLs: https://developers.cloudflare.com/image-resizing/url-format
Indeed. I only read the blog post, where this info is missing. Thank you.
I think it's pretty smart and empowering as it strikes a nice balance between great, simple DX and high flexibility.
Re: Cloudflare Images Now Available to Everyone
#69Earlier quoted context omitted.
Typo on the last one, should be: 50KB = 5GB = $0.20 per GB Which would make you want to break out the old school spriting tools :) I guess don't serve thumbnail galleries from CF.
The 'variants' include different sizes, and: > You only pay for original images; not variants https://developers.cloudflare.com/images/faq
Re: Cloudflare Images Now Available to Everyone
#70Images up to 10MB in size. Aren’t most photos taken by recent phones > 10MB? I know my DSLR pictures certainly are. Asking out of curiosity. I am not the target audience for this product.
The Cloudflare Image Resizing service this product is based on has been increasing its max size, and it supports 100MB images.