New to Umbraco and I started using Nested Content. It's really convenient!
I am able to render strings, but not images from the content/doc types. It shows the value as null even though I've put an image in the BackOffice. Would love if there is something obvious I'm missing.
I've tried a few other ways to no avail. I feel I'm missing something in terms of the connection to the images uploaded in nested content for the specific current page.
Can't show image in Nested Content
Hello everyone,
New to Umbraco and I started using Nested Content. It's really convenient!
I am able to render strings, but not images from the content/doc types. It shows the value as null even though I've put an image in the BackOffice. Would love if there is something obvious I'm missing.
Here's the code:
I've tried a few other ways to no avail. I feel I'm missing something in terms of the connection to the images uploaded in nested content for the specific current page.
Hi ddjak,
What do you get when you output @photo.Name ?
And is the "photos" the correct property type alias. And what picker are you using ?
Dave
I fixed it!
Turns out it had everything to do with the Media Picker. I disabled multiple image uploads and it worked like a charm!
Thanks!
is working on a reply...