Images - Menu Payload

A published menu can contain image URLs set against;

ItemKeyDescription
Menu"menuImageURL"The menu itself can have a hero/banner image set
Categories"categories.imageUrl"Each category can have it's own image
Products"products.imageUrl"Each product can have it's own image
Modifier"modifiersimageUrl"In certain cases, modifiers can have an associated image
Modifier Groups"modifierGroupsimageUrl"In very specific use cases, modifier groups can have an image

Image URL

Deliverect will host images synced from a POS system or uploaded by a user (more info on manual upload here)

Hosted images will be sent as a URL like the example below;

https://resizer.deliverect.com/ UBcWMeTD3XSmUUH1da7NMEVi0TwWDDv9dI8unu9_xcw/ rt:fill/g:ce/el:0/ cb:9531913724da49749e44c1423893c002/ aHR0cHM6Ly9kZWxpdmVyZWN0LWEyOGNmMmExNzc3NS5pbnRlcmNvbS1hdHRhY2htZW50cy0xLmNvbS9pL28vNzU2NTc1OTMwL2M3YTQzOTk3Y2RhMTY3ZDQxM2U2ODIwYy9tY2VjbGlwMC5wbmc==<span style="color: #05cc79">\/ </span>.jpg

The elements of the URL explained as below;

https://resizer.staging.deliverect.com/<- Base URL of our image resizer

2NUaOqszuU8my8z2JhP5gOrtmfXJZjaQUSuPwsFqUIk/ <- Unique ID of image

rt:fill/g:ce/el:0/ <- Rendering parameters

cb:d74d2dae7c414232a7d4558ef4678ecb/ <- Cache buster

aHR0cHM6Ly9kZTJ5eXB2bGQwZzdzLmNsb3VkZnJvbnQubmV0LzY1ZjA4ZTIxLTJiYzctNDI2Ny04YTQ2LTY2MDFiNTk5ZThlYi9FZ2djYWRvLXgyLmpwZw== <- Base 64 encoding for original image URL

.jpg <- Image format

ⓘ Image URL Changes With each menu published a new version of the image URL is generated. This is to allow changes to the image to be updated within online menus

Sample

Below is a condensed menu payload showing where each image URL is located;

[
    {
        "availabilities": [],
        "categories": [
            {
                "_id": "6579df312b1b7fb35c2cc459",
                "name": "Drinks",
                "imageUrl": "https://resizer.deliverect.com/UBcWMeTD3XSmUUH1da7NMEVi0TwWDDv9dI8unu9_xcw/rt:fill/g:ce/el:0/cb:9531913724da49749e44c1423893c002/aHR0cHM6Ly9kZWxpdmVyZWN0LWEyOGNmMmExNzc3NS5pbnRlcmNvbS1hdHRhY2htZW50cy0xLmNvbS9pL28vNzU2NTc1OTMwL2M3YTQzOTk3Y2RhMTY3ZDQxM2U2ODIwYy9tY2VjbGlwMC5wbmc=.jpg"
            }
        ],
        "channelLinkId": "66193f9dfe65ea65b85c4f93",
        "menu": "My Menu",
        "menuId": "6579df312b1b7fb35c2cc456",
        "menuImageURL": "https://resizer.deliverect.com/UBcWMeTD3XSmUUH1da7NMEVi0TwWDDv9dI8unu9_xcw/rt:fill/g:ce/el:0/cb:9531913724da49749e44c1423893c002/aHR0cHM6Ly9kZWxpdmVyZWN0LWEyOGNmMmExNzc3NS5pbnRlcmNvbS1hdHRhY2htZW50cy0xLmNvbS9pL28vNzU2NTc1OTMwL2M3YTQzOTk3Y2RhMTY3ZDQxM2U2ODIwYy9tY2VjbGlwMC5wbmc=.jpg",
        "menuType": 0,
        "modifierGroups": {
            "66193faea38a270cd82a21cd": {
                "_id": "66193faea38a270cd82a21cd",
                "name": "Choose a Sauce",
                "imageUrl": "https://resizer.deliverect.com/UBcWMeTD3XSmUUH1da7NMEVi0TwWDDv9dI8unu9_xcw/rt:fill/g:ce/el:0/cb:9531913724da49749e44c1423893c002/aHR0cHM6Ly9kZWxpdmVyZWN0LWEyOGNmMmExNzc3NS5pbnRlcmNvbS1hdHRhY2htZW50cy0xLmNvbS9pL28vNzU2NTc1OTMwL2M3YTQzOTk3Y2RhMTY3ZDQxM2U2ODIwYy9tY2VjbGlwMC5wbmc=.jpg",
                "plu": "100060",
                "productType": 3,
                "subProducts": [
                    "6618652cec388eeb3f5790b7"
                ],
                "takeawayTax": 0
            }
        },
        "modifiers": {
            "6618652cec388eeb3f5790b7": {
                "_id": "6618652cec388eeb3f5790b7",
                "name": "Truffle Cream Sauce",
                "imageUrl": "https://resizer.deliverect.com/UBcWMeTD3XSmUUH1da7NMEVi0TwWDDv9dI8unu9_xcw/rt:fill/g:ce/el:0/cb:9531913724da49749e44c1423893c002/aHR0cHM6Ly9kZWxpdmVyZWN0LWEyOGNmMmExNzc3NS5pbnRlcmNvbS1hdHRhY2htZW50cy0xLmNvbS9pL28vNzU2NTc1OTMwL2M3YTQzOTk3Y2RhMTY3ZDQxM2U2ODIwYy9tY2VjbGlwMC5wbmc=.jpg",
                "price": 800,
                "productType": 2
            }
        },
        "products": {
            "66193faea38a270cd82a21ce": {
                "_id": "66193faea38a270cd82a21ce",
                "name": "Hand Cut Fries",
                "imageUrl": "https://resizer.deliverect.com/UBcWMeTD3XSmUUH1da7NMEVi0TwWDDv9dI8unu9_xcw/rt:fill/g:ce/el:0/cb:9531913724da49749e44c1423893c002/aHR0cHM6Ly9kZWxpdmVyZWN0LWEyOGNmMmExNzc3NS5pbnRlcmNvbS1hdHRhY2htZW50cy0xLmNvbS9pL28vNzU2NTc1OTMwL2M3YTQzOTk3Y2RhMTY3ZDQxM2U2ODIwYy9tY2VjbGlwMC5wbmc=.jpg",
                "plu": "PR60",
                "posCategoryIds": [
                    "SD"
                ],
                "price": 890,
                "productType": 1,
                "subProducts": [
                    "66193faea38a270cd82a21cd"
                ]
            }
        },
        "productTags": [],
        "snoozedProducts": {}
    }
]