Service Portal Widget Images are not getting displayed

knopbrent
Tera Contributor

HI Community

 

I am facing an issue on the Service portal, where I was not able to see the images on the widgets. I was able to click on the errored images and navigate to the next page. The images are broken completely. I have fixed the images on the system> UI Pages, but still no luck.

 

Please find the attached screenshot for your reference

 

Thanks in advance

4 REPLIES 4

AnubhavRitolia
Mega Sage
Mega Sage

Hi @knopbrent 

 

Please check that on your Widget script, Correct link and name are given for the Images which you have stored in Images table.

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

Hi @AnubhavRitolia 

 

I already have the Script on the HTML template of the Widget with all the names of the images. Please find the sample script below and let me know where am I going wrong

 

<div class="home-dash-board">

  <!-- First -->
  <div class="row rowgutter">
    <div class="col-md-3">     
      <div class="service-cat-item">  
        <a ng-href="?id=csa_cat_item"> <img src="new_request.png"/></a>
      </div>
    </div>
    <div class="col-md-3">
      <div class="service-cat-item">  
        <a ng-href="?id=csa_my_requests"> <img src="my_request.png"/></a>
      </div>
    </div>
    <div class="col-md-3">
      <div class="service-cat-item">  
        <a ng-href="?id=csa_all_request"> <img src="all_request.png"/></a>
      </div>
    </div>

 

Hi @knopbrent 

 

Just wanted to confirm that images are stored in your Images table with same name and png format only.

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

Hi @AnubhavRitolia 

 

Yes the images are stored on images table with the same name