Thread Starter
KC
(@kaseym)
Thanks for your response. I did have a look into those transform rules and sadly they’re locked to the business tier (200 USD a month) so I’ve opted for AWS.
Hi @kaseym,
Sorry for the late response. It’s possible to do this with Cloudflare Workers. However, this would need some adjusting on the plugin side. The path would be either something like this:
https://posterity-it.co.uk/cf-images/posterity-it.co.uk/2023/08/Disenchantment_Part5_Teaser_7.jpg/w=695
or, if not using the media library structure:
https://posterity-it.co.uk/cf-images/64c5f50e-20de-47b5-b7f1-6ad38784cd00jpg/w=695
You’d need some sort of ID, cf-images in the above examples. And then those would be routed to the proper Cloudflare Images URL with a Worker
Is this what you were trying to do?
Best regards,
Anton
If you’re ever able to implement something like this, I would love to see that as well.
I have implemented the functionality based on Cloudflare workers. If you want to test it out, please install the beta https://github.com/av3nger/cf-images/releases/tag/1.7.0-beta.2 and follow the instructions in the “Pro features – Custom image URLs & stats” module.
Will mark this as resolved.
Best regards,
Anton