Can we add an image to catalog item form

Madhura5
Tera Contributor

Hi All,

Can we add an image on a catalog item form? I tried it using the HTMLtags like <img src='name.jpgx'></img> but it was not displayed on the Service Portal.

How can we add an image in the catalog variables so that it is displayed on the default view  and Service Portal

1 ACCEPTED SOLUTION

Omkar Mone
Mega Sage

Hi 

For that,

create a macro type of variable, in that you will see widget and ui macro reference fields, in the widget write the code of <img src> which will show an image on portal and add ui macro with the same code it will show on desktop view.

 

find_real_file.png

 

Desktop View Result - 

find_real_file.png

 

Portal View - 

find_real_file.png

 

Hope this helps.

 

Regards

Omkar Mone

View solution in original post

7 REPLIES 7

I think this is not supported in Service Portal, I can't find an alternative for it...

Omkar Mone
Mega Sage

Hi 

For that,

create a macro type of variable, in that you will see widget and ui macro reference fields, in the widget write the code of <img src> which will show an image on portal and add ui macro with the same code it will show on desktop view.

 

find_real_file.png

 

Desktop View Result - 

find_real_file.png

 

Portal View - 

find_real_file.png

 

Hope this helps.

 

Regards

Omkar Mone

Enrique Brands1
Giga Contributor

Hi,

You can use the HTML variable to display an image on the Service Portal