kirby-3-imgix icon indicating copy to clipboard operation
kirby-3-imgix copied to clipboard

Why point to the media folder image?

Open philipmarnef opened this issue 3 years ago • 1 comments

I know this is inspired by the kirby.com KeyCDN plugin where they also point the CDN to the media folder version, but I'm wondering why. The issue I'm having is I can't use ImgIX in a local environment since the url points to a non-existing media asset and turning off the CDN locally also isn't an option because I crop images with the ImgIX api.

When you use the content path of the image (the original file) you don't have this issue (as long as your local content is in sync with the production site). I'm genuinely curious what the rationale here is. Is the idea to be able to do image transforms both on the server and on the CDN?

philipmarnef avatar May 01 '21 08:05 philipmarnef