Installed current version of CropUp in a V6.0.3 test site. Appears to be working but in my Razor macro I must be missing a "using" statement as "CropUpModule" appears to be unknown.
@inherits umbraco.MacroEngines.DynamicNodeContext @{ var theSliderImage = Model.Media("sliderImage"); var cropPath = CropUpModule.GetImageUrl(theSliderImage.umbracoFile,new ImageSizeArguments{Width=960,Height=377}); <p>Slider Image</p> <img src="@cropPath" alt="@theSliderImage.Name"> }
CropUp problem
Hi,
Installed current version of CropUp in a V6.0.3 test site. Appears to be working but in my Razor macro I must be missing a "using" statement as "CropUpModule" appears to be unknown.
What should I be referencing for CropUp to work?
Craig
Turns out the online examples are out of date. If anyone's interested I have it working like this:-
Craig
is working on a reply...