Welcome to Pipr - PIcture PRovider

This service lets you scale/crop and modify images on-the-fly and cached. You can perform actions thru the URL.

Examples:

  

http://pipr.startsiden.no/demo/resized/100x100/http://csp.picsearch.com/img/G/t/6/l/title_Gt6lWCcSuJvaatlRgDSv3Q

http://pipr.startsiden.no/demo/resized/300x/http://csp.picsearch.com/img/G/t/6/l/title_Gt6lWCcSuJvaatlRgDSv3Q

http://pipr.startsiden.no/demo/resized/300x50/http://csp.picsearch.com/img/G/t/6/l/title_Gt6lWCcSuJvaatlRgDSv3Q

http://pipr.startsiden.no/demo/resized/50x50/http://csp.picsearch.com/img/G/t/6/l/title_Gt6lWCcSuJvaatlRgDSv3Q

http://pipr.startsiden.no/demo/cropped/100x100/http://csp.picsearch.com/img/G/t/6/l/title_Gt6lWCcSuJvaatlRgDSv3Q

http://pipr.startsiden.no/demo/cropped/100x100,100x100/http://csp.picsearch.com/img/G/t/6/l/title_Gt6lWCcSuJvaatlRgDSv3Q

Below is the current config in use with allowed targets and sizes.

{
    abcn   {
        allowed_targets   [
            [0] "\A https?://([^/+]\.)?abcnyheter\.no",
            [1] "http://csp\.picsearch\.com",
            [2] "https://abcnyheter\.drpublish\.aptoma\.no/",
            [3] "http://smooth-storage\.cdn\.aptoma\.no/",
            [4] "http://ws\.vipr\.startsiden\.no/",
            [5] "https://wsvipr\.startsiden\.no",
            [6] "http://dev.abcnyheter.no",
            [7] "/files",
            [8] "files",
            [9] "drfront"
        ],
        shortcuts         {
            /?drf(ront)?   "http://abcnyheter.cdn.drfront.aptoma.no/users/drf-abcnyheter%s",
            /?drp          "https://abcnyheter.drpublish.aptoma.no/out/images/article%s",
            /?files        "http://%ENV_SUBDOMAIN%.abcnyheter.no/files%s"
        },
        site              "abcn",
        sizes             [
            [0]  "980x",
            [1]  "972x",
            [2]  "680x",
            [3]  "654x",
            [4]  "486x",
            [5]  "327x",
            [6]  "243x",
            [7]  "210x",
            [8]  "164x",
            [9]  "122x",
            [10] "65x",
            [11] "244x",
            [12] "150x",
            [13] "300x"
        ]
    },
    demo   {
        allowed_targets   [
            [0] "http://csp.picsearch.com"
        ],
        sizes             [
            [0] "100x",
            [1] "100x100",
            [2] "200x",
            [3] "300x",
            [4] "144x82",
            [5] "50x50",
            [6] "76.8x43.2",
            [7] "300x50",
            [8] "169x169"
        ]
    },
    test   {
        allowed_targets   [
            [0] "public/images/test.png",
            [1] "non-existing-image",
            [2] "http://dghasdfguasdfhgiouasdhfguiohsdfg/non-existing-image"
        ],
        sizes             [
            [0] "30x30",
            [1] "100x30",
            [2] "30x",
            [3] "x30"
        ]
    }
}