Skip to main content
Answer

Image name as property with csv output

  • January 19, 2025
  • 1 reply
  • 16 views

Forum|alt.badge.img+1

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"
    }
  ]
}

Best answer by Ambar D

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! 

 

Comments

Ambar D
Forum|alt.badge.img+10
  • Lucid community team
  • Answer
  • January 21, 2025

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!