Live data from Hacker News

Cloudflare Images Now Available to Everyone

blog.cloudflare.com

81–90 of 91 posts

Re: Cloudflare Images Now Available to Everyone

#83
post #9

It would be great if they also allowed reverse proxying images directly. I.e. if I could embed an image like this: For the customers that enabled Cloudflare proxying, they could automatiacally serve a 200x200px variant of the image hosted on my server at /images/logo.png. This would allow to use the feature without needing to upload the images explicitely. For those not using the Cloudflare proxying, the images could…

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

Currently "Image Resizing" requires the Business plan or higher, so this strategy will not work for most hobbyist. Seems like enrolling into "Cloudflare Images" does not give a way to use this feature from Workers.

Re: Cloudflare Images Now Available to Everyone

#84

I want something similar to this for favicons. As stupid as that sounds, dealing with favicons is a huge pain. There are so many variants required and every vendor seems to do their own thing. For example, when you click the share button in Safari on an iPad, it'll download every `link rel="icon"` image you list in html even though it doesn't need them. It would be really awesome to use a worker to inspect the user a…

SVG favicons work in every browser except IE and Safari, sigh:

https://caniuse.com/link-icon-svg

Re: Cloudflare Images Now Available to Everyone

#85

Earlier quoted context omitted.

Have you considered imgix? It's like Cloudinary, but with flat pricing per # of origin images. Transformations and bandwidth don't cost extra. It's nice because you don't have to manage yet another stack, just plop in a URL and you're done. It seems like Cloudflare wants you to predefine all the "variants" (transformations) as specific templates in their GUI, whereas Cloudinary and Imgix are much more flexible and ac…

imgix is like 5000x more expensive lol

How is it more expensive (than Cloudinary, which the parent was talking about)?

Cloudinary uses a credit system and charges by disk space + bandwidth + transformation calls. Its free plan is metered and only good for up to a small number of monthly visitors.

Imgix charges by # of origin images, regardless of their size, and everything is included free. The free plan is up to 1000 source images and bandwidth/disk space are not charged (though fair use limits prob apply?)

Re: Cloudflare Images Now Available to Everyone

#86
post #43
post #23

I’m loving it. Cloudflare is a good and reliable service provider, I expect it to expand their cloud offerings in the future like drop-in S3 replacement, application logging, etc…

I am wondering if Cloudflare is gearing up to be a true competitor to AWS a la GCP and Azure. All it'd take is an EC2-like offering for them to have everything many companies need. You can build out the rest of your managed services (e.g. RDS, ElastiCache, S3) slowly over time. Cloudflare seems to have a much more cohesive vision for their cloud than AWS does, and I think it could be a competitive advantage for them.

I have to wonder what a fly.io acquisition would look like.

Re: Cloudflare Images Now Available to Everyone

#87
post #32
post #25

Earlier quoted context omitted.

Bunny seems like a very nice product. I've never used them, but my perception of them is very positive, for some reason.

As a user for many years, I can confirm it indeed is a nice product. They did however have minor downtimes compared to my previous CloudFront experience, but there are no charges for HTTP requests with Bunny, so it saves a substantial amount from the bill.

Thanks, it's good to hear my perception matches reality!

Re: Cloudflare Images Now Available to Everyone

#88

Earlier 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...

We can support original images that are heavier than 10Mb. Please reach out if you are interested.

Re: Cloudflare Images Now Available to Everyone

#89
post #65

Earlier 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.

We're evaluating this product to replace our self-hosted "resize and deliver images on the Internet" solution and we definitely do have source images over 10mb. I'm not worried about the migration, but this means that going forward we might need our app (or worse our users) have to resize images down before uploading them to the image resizing service. That's a bummer. EDIT: I just checked, 2.5% of source images are…

10mb was a starting default. We may adjust the upload size of original images to the higher limit if there is enough demand for this.

Re: Cloudflare Images Now Available to Everyone

#90

Earlier quoted context omitted.

You never know what might happen. Cloudflare's Birthday Week is 10 days away...

Can we all make wishes? Lol. I would like to define a pipeline of Workers that get to act on the request / response and count the whole pipeline as a single Worker run as long as I stay within the limits for normal workers. That way I can write composable, reusable workers that perform very specific tasks (like pipes). There could even be a GUI to let me enable / disable parts of the pipeline. I can do that right now…

A single file is just the deployment, something you don't really have to worry about. Setup your project and source code to have a pipeline with multiple files and libraries as you want, and let the deployment step (with wrangler) wrap up everything and publish it.
Post reply on HN