Skip to main content

My goal is to create custom shapes for a storyboard that will export to a csv file for further manipulation. I have not found out-of -the-box shapes that will export image data, so I’m trying to create a custom shape that will.
I also need the images to be visible in shapes within lucidchart ,and easily input from files not urls.

My attempts with the following code have failed to show images in a shape at instantiation and with data input.

Is it possible to reach my goal? If so, what can be altered in this to make it work?

{
  "properties": "
    {
      "name": "ImageName",
      "default": "clockwise-one-arrow.png",
      "label": "Image name",
      "type": "file"
    }
  ],
  "images": {
    "logo": {
      "type": "file",
      "path": "{{=@ImageName}}"
    }
  },
  "style": {
    "fill": {
      "type": "image",
      "ref": "logo"
    }
  },
  "geometry":
    {
      "type": "rect"
    }
  ]
}

Hi ​@kevinTP, thank you for posting in the Lucid Community! I noticed that you’ve also posted this question below in the Lucid for Developers group. One of our team members will be in touch shortly within that thread, so feel free to leave any additional questions or concerns there! 

 


Reply