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 have created my own server-side rendering view for a custom grid editor and had some things that were unclear to me.
The content of that editor is simply an image. I can get the model properties in my view, here is an example:
{ "value": { "focalPoint": { "left": 0.5, "top": 0.5 }, "id": 1153, "image": "http://kyber.blob.core.windows.net/boilerplate7-umbraco/1001/office.jpg" }, "editor": { "name": "Image with fullscreen option", "alias": "fullImage", "view": "media", "render": "/App_Plugins/GridEditors/FullImageRenderer.cshtml", "icon": "icon-picture", "config": { "size": { "width": "1280", "height": "960" } } } }
Might be something I'm not understanding, but the id value referes to the grid cell, not the content of that cell correct?
If so, is there a IPublishedContent object for that image?
Cheers!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get the image data from a grid image.
Hi!
I have created my own server-side rendering view for a custom grid editor and had some things that were unclear to me.
The content of that editor is simply an image. I can get the model properties in my view, here is an example:
Might be something I'm not understanding, but the id value referes to the grid cell, not the content of that cell correct?
If so, is there a IPublishedContent object for that image?
Cheers!
is working on a reply...