Copied to clipboard

Flag this post as spam?

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


  • Gerben van Laar 12 posts 102 karma points
    Apr 14, 2018 @ 12:58
    Gerben van Laar
    0

    Make parallax images dynamic

    Hi all,

    Quite some time ago I asked a question on the same topic. The link to the post is https://our.umbraco.org/forum/using-umbraco-and-getting-started/86288-dynamic-css-images . I haven't used Umbraco in while. And when I wanted to use the same code that solved my problem last time, it didn't work and I can''t figure out why. So the question remains the same, how can I make my parallax images dynamic so my client can change his image in the content section?

    Can anyone help me solve my problem?

    King regards, Gerben

    PS: I'm using Umbraco 7.7.8

  • Amir Khan 1289 posts 2746 karma points
    Apr 14, 2018 @ 16:24
    Amir Khan
    0

    Hi Gerben,

    Are you getting an error and have you checked that the property is called "image" on the new site?

    What you referenced in the previous thread should still work fine!

    -Amir

  • Gerben van Laar 12 posts 102 karma points
    Apr 21, 2018 @ 08:51
    Gerben van Laar
    0

    Hi Amir,

    I have the name from image to homePageHeadImage, so that shouldn't be the problem.

    I found out that when I leave the .Url or .Id out, he returns the id for some weird reason. Is this normal behaviour? But when I specificly ask for the .id, I get the same error.

    Do you have any other suggestions?

    Gerben

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies