Skip to content

Why point to the media folder image? #4

@philipmarnef

Description

@philipmarnef

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions