Add Custom Image in the Icon link widget instead glyphicon icon

salu
Mega Guru

Hello,

Can some one please help me on this..I need to add a custom image in the Icon link of the Service Portal.How can I add it?

find_real_file.png

Thanks

Saranya

1 ACCEPTED SOLUTION

larstange
Mega Sage

Hi



you will have to clone the widget and make your own version - the widget is only coded to show the glyph as an image


find_real_file.png


View solution in original post

28 REPLIES 28

Glad it works for you..


sujannag
Giga Contributor

Hey Daylon,



can you share me the code of the widget i am trying , its not working for me



CSS , Server code and HTML as well please , its kind of urgent @Ryan Ramos @Daylon crider


brilliant stuff @ryanramos, but do you know how I can make the icons change colour with the branding like the text does?

 

This is exactly what I am looking for. However, can you please demonstrate with screenshots or with code as to how the Optional schema input should look like. I don't understand how you select the images to push it to the widget.

This is wrong but it is what my Optional schema has:

[{"name":"link_template","section":"Presentation","label":"Template","type":"choice","choices":[{"label":"Top Icon","value":"Top Icon"},{"label":"Image Icon","value":"Image Icon"},{"label":"Circle Icon","value":"Circle Icon"},{"label":"Color Box","value":"Color Box"}]}]

Any help would be fantastic.

 

Thanks

Nat

Hey Ryanramos,

In Table 'db_image' we will be having so many images...Where we are specifying the image names.

How do we get them dynamically, 

I am having 3 customized icons which I need to show in Home Page.

Are we passing anything from sp_instance_link?