Skip to main content
priyankaa0004
July 2, 2024
Solved

SVG format image is not visibible without tumbnail

  • July 2, 2024
  • 2 replies
  • 0 views

Hello Everyone,

I need to display a SVG format logo. I am using imagefield component for this purpose but facing one challange. If tumbanil property is not set to true, image is not visible. Drawback of using this tmbnial property is that it covers the image with a border and not accepted by client. 

Is there any other way to display SVG format logo in Appian without facing above issue?

Please find the code below for reference -

a!imageField(
label: "Image",
labelPosition: "ABOVE",
images: {
a!documentImage(
document:cons!SVG_IMAGES
)
},
size: "MEDIUM",
isThumbnail: true,
style: "STANDARD"
)

Best answer by yogip3177

Try  -> size: "FIT"

This should work. Also, the following thread might be helpful:

https://community.appian.com/discussions/f/user-interface/14313/svg-format-images-not-fully-supported

2 replies

yogip3177Answer
July 2, 2024

Try  -> size: "FIT"

This should work. Also, the following thread might be helpful:

https://community.appian.com/discussions/f/user-interface/14313/svg-format-images-not-fully-supported

priyankaa0004
July 2, 2024

It worked. Thank [mention:c3d4bf332aba4695885fdc0e0110ec6e:e9ed411860ed4f2ba0265705b8793d05]