We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49593
    • 2 Posts
    One of my client require a image cropping tool in one of our Modx projects. I installed Imageplus for that reason. I created a template variable and set its type as Migx.
    In the "Forms Tab" I gave
    [
    {"caption":"Image", "fields":[
        {"field":"image","caption":"Image","inputTVtype":"imageplus"}
    ]}
    ]


    and in Grid Columns:
    [
    {"header": "Image", "width": "50", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"}
    ]
    


    When I add data in the resource (add image), everything works, but in the Grid table JSON is shown instead of cropped image. I know there is some problem with
    "renderer": "this.renderImage"
    . But I don't know a solution to this. Can anyone help me in this. [ed. note: sudeepdileep last edited this post 9 years, 3 months ago.]
      • 2396
      • 101 Posts
      I know this is old but for future reference I think what you need is

      "renderer": "ImagePlus.MIGX_Renderer"