spacecatninja / craft-imager-x

Image transforms, optimizations and manipulations for your Craft CMS site.
Other
26 stars 16 forks source link

KeyCDN support [FR] #197

Open shoored opened 1 year ago

shoored commented 1 year ago

Hey André,

In addition to my Imagekit FR, I would like to make another request ;)

KeyCDN has an Image Processing service that looks quite nice and as far as I can tell has similar functionality / API as imgix. Might be an even better alternative for the recently costly imgix.

Not sure how difficult it would be to add support though.

https://www.keycdn.com/support/image-processing

Cheers!

shoored commented 1 year ago

Hey @aelvan, I've been trying to get a custom transformer going myself. It really ain't for the faint hearted ;) But I think I understand the base flow. I'm currently trying to map the Imager parameters to those of KeyCDN.

I think this transformer would be a welcoming switch for a lot of imgix users because of their latest price changes.

What would be a good way to tackle this in your opinion?

Note: I'm not a PHP programmer by day so there's probably things that need some improvements.

aelvan commented 1 year ago

Hi,

Great that you jumped into the deep end yourself. ;)

If you want to put it in the plugin store (free or paid) yourself, and provide a first line of support, that would be the best for me. I'll be available to assist if you need any help, and if you want to get rid of it at some point, I can take over.

If you put it up on a repo when you have something working, I can do a code review and let you know if there's something I think should be solved differently. Note that there's transformerConfig config setting that can be used to pass custom config parameters to the transformer, and transformerParams which can be used to pass transform parameters directly to the transformer.