Choose Images from Image library in HTML-fields?

andersbogsjo
Tera Guru

When using the HTML-widget in SP and I want to add an image, I can't choose an image in the Image library in the instance. I can only choose images from my computer.

 How do I make it possible to be able to choose from the image library? Or can I do in a different way? 

1 ACCEPTED SOLUTION

Abdul_Rahiman
Tera Guru

follow the below steps to get the image 

 

1.upload the image into servicenow instance

2.click on the "Source code icon"(<>) and then use below code

 

<img src="image_name.png" alt="image">

 

it wil work fine

View solution in original post

2 REPLIES 2

Mark Stanger
Giga Sage

It's not possible to modify the widget to directly choose from the image library, but you can do this in another way.  You can use the '<>' button to insert whatever HTML code you want pointing to your image.  Just add the 'Name' of your image from the 'System Images' table to the 'src' attribute in the code.

<img src="YOURIMAGENAMEHERE" />

Please mark this answer as correct if it answers your question.

Abdul_Rahiman
Tera Guru

follow the below steps to get the image 

 

1.upload the image into servicenow instance

2.click on the "Source code icon"(<>) and then use below code

 

<img src="image_name.png" alt="image">

 

it wil work fine