Closed tiptenbrink closed 1 year ago
Great. Just one copy+paste error. Also, could you add a sample image to the end of the list in examples.json? Thanks!
Great. Just one copy+paste error. Also, could you add a sample image to the end of the list in examples.json? Thanks!
@ascorbic Ah apologies about that! I think everything should be good now. One question though, should it always center the crop if the width/height don't match the image aspect ratio? By default it doesn't do that on KeyCDN but I could change it so that would be the default behavior.
That's great, thanks! The current cropping approach looks great. The only improvement would be, if it supports it, prevent up-scaling images. Generally the approach we want for the default behaviour is:
Hi! This should add support for KeyCDN to unpic. Let me know if anything's missing from the tests / code.