Default config

{
    "${DBKS:ICP_PROVIDER}": {
        "type": "imengine",
        "endpoint": "${DBKS:IMENGINE_EDITORIAL_URL}",
        "functions": {
            "default": {
                "template": "uuid=[identifier]&type=[type:preview]&function=hardcrop&width=[width]&height=[height]&q=80"
            },
            "crop": {
                "template": "uuid=[identifier]&type=[type:preview]&function=thumbnail&width=[width]&height=[height]&q=80"
            },
            "noCrop": {
                "template": "uuid=[identifier]&type=[type:preview]&function=cover&width=[width]&height=[height]&q=80"
            },
            "fullSize": {
                "template": "uuid=[identifier]&type=[type:primary]&function=original&q=80"
            }
        }
    },
    "writer": {
        "type": "imengine",
        "endpoint": "${DBKS:IMENGINE_EDITORIAL_URL}",
        "functions": {
            "default": {
                "template": "uuid=[identifier]&type=[type:preview]&function=hardcrop&width=[w:auto]&q=[q:75]"
            },
            "crop": {
                "template": "uuid=[identifier]&type=[type:preview]&function=hardcrop&width=[w]&height=[h]&q=[q:75]"
            },
            "crop-resize": {
                "template": "uuid=[identifier]&function=cropresize&type=preview&q=75&crop_w=[cwrel]&crop_h=[chrel]&width=[w:auto]&height=[h:auto]&x=[cxrel:0]&y=[cyrel:0]&zoom=0"
            }
        }
    }
}

Last updated