Skip to main content
6-Contributor
September 26, 2024
Solved

is it possible to display an image + text in dropdown widget

  • September 26, 2024
  • 1 reply
  • 786 views

Hi,

I'm trying to display an image + text in a dropdown. I have tried two methods..

i) under "renderer and state" in the dropdown widget, I'm using a state definition under state-based style definition to add an image. But upon selecting the item we can unable to see the image.

MC_10978167_0-1727354662782.png

ii)creating an infotable with a html field and using it as the display field in the dropdown widget, in this case the text is coming up but the image isn't.

MC_10978167_1-1727354840942.png

Please let me know if their is a way to achieve this, thanks!

 

 

Best answer by Rocko

Your second examples shows a broken image. This means in browser dev tools you will probably see a 404 request. Looks like the link you have is not correct. check the logs.

1 reply

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
September 26, 2024

Your second examples shows a broken image. This means in browser dev tools you will probably see a 404 request. Looks like the link you have is not correct. check the logs.

6-Contributor
September 26, 2024

yes, the issue was with the link. Thanks.