Some Generic Properties not accessible for Media items
In Umbraco 4.11.4 some Generic Properties for Media items are not accessible before you have accessed it at least once.
var imageNew = Model.MediaById(1234); var tempAccess = imageNew.ImageCropper; // the Property has to be called at least once
// now it is possible to access it via HasProperty or HasValue
if (imageNew.HasProperty("imageCropper") && imageNew.HasValue("imageCropper")) { <img src="@imageNew.ImageCropper.crops.Find("@name","NewsPreview").url" width="86" height="86" title="@captionImage" alt="@captionImage" /> }
Some Generic Properties not accessible for Media items
In Umbraco 4.11.4 some Generic Properties for Media items are not accessible before you have accessed it at least once.
Is there a solution for this?
is working on a reply...