Hi guys, first off - I've read that the author [ NimblePros ] is no longer developing for Orchard in a couple of threads - so I assume that to be true. So, basically - I'm in the same boat, but with very little coding knowledge to amend this scenario.
Anyhow, I've been attempting to alter this module, so far-
*I've changed the migration from MediaPickerField to:
.WithField("Picture", cfg => cfg.OfType("MediaLibraryPickerField"))
(...so I can now add an image to this contenttype unlike the example above)
But i'm struggling to get an image to display in my view [...with the old code, the url path is now displaying the ID of the image record]
string backgroundImageStyle = useBackgroundImages ? "background-image:url('" + @Url.Content(featuredItem.ImagePath) + "');" : "";
so how do I go about accessing the image path via this ID, when I debug, I can't find it anywhere? Any help will be greatly appreciated, cheers Gil