6 Replies Latest reply: Jan 29, 2018 1:03 PM by Srinivas Chaturvedula RSS

    Showing image on UI

    Srinivas Chaturvedula

      Is there any way I can show an image on the sheet? I tried using something like below in the extension code, but the image is appearing broken.

      var html = html = '<a href="#" id="modal-open" class=""><img src="refresh1.png"></img></a>';

      If i replace the img tag with any static text, that is getting displayed well.

       

      The image is loaded into the app. Infact I set the same image as extension icon, and it shows up quite fine. Screenshots attached.