Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I want to use the cropper for the images.
I've got the cropper set up with a cropsize called bannerstyle.
in my content i've created a documenttype 'articleitem' which has a property for the image called CopperImage. This is of the type image cropper.
Now i've created a grid content picker which alowes me to selectet multiple nodes in the content tree.
when i iterate through the selected nodes while rendering i need to get the croppedimage url.
so in my razor view I can access the folowing objects;
the selected item which must be rendered; CurrentNode {umbraco.NodeFactory.Node} umbraco.NodeFactory.Node
the property of the croppedimage: CurrentNode.Properties["copperImage"];
this provides me with the json....
but i can't get a object which has the GetCropUrl function.
in the documentation:
but this doesn't work...
kind regards
frans
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Imagecropper on property in document type in a partial razor view
Hi I want to use the cropper for the images.
I've got the cropper set up with a cropsize called bannerstyle.
in my content i've created a documenttype 'articleitem' which has a property for the image called CopperImage. This is of the type image cropper.
Now i've created a grid content picker which alowes me to selectet multiple nodes in the content tree.
when i iterate through the selected nodes while rendering i need to get the croppedimage url.
so in my razor view I can access the folowing objects;
the selected item which must be rendered; CurrentNode {umbraco.NodeFactory.Node} umbraco.NodeFactory.Node
the property of the croppedimage: CurrentNode.Properties["copperImage"];
this provides me with the json....
but i can't get a object which has the GetCropUrl function.
in the documentation:.GetCropUrl("image", "banner"))
but this doesn't work...
kind regards
frans
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.