Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mathias 47 posts 191 karma points
    Apr 01, 2019 @ 12:16
    Mathias
    0

    V8: Grid background image

    Hello,

    I want to be able to set a background image on my rows in my Grid. By looking at the official documentation page for this: https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/grid-layout/settings-and-styles

    I added the following to my Styles input on the Grid datatype:

    {
        "label": "Background image",
        "description": "Choose an image",
        "key": "background-image",
        "view": "imagepicker",
        "modifier": "url('{0}')"
    }
    

    This does not work though, when trying to set a background image a little rad bad pops up telling me there's no such overlay in some /views/common/overlay folder.

    I tried switching the "view": "imagepicker" to "view": "mediapicker". This allows me to select an image, but it doesn't get set as the background image.

    Has anyone of you guys out there gotten this to work, setting a image as a row-background using the Umbraco grid?

    @Umbraco devs, please update your documentation to an example that works, or remove that section from the page, as it does not work

  • Mathias 47 posts 191 karma points
    Apr 01, 2019 @ 13:28
Please Sign in or register to post replies

Write your reply to:

Draft