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?
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.
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
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
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
is working on a reply...