Display image in sharepoint column RRS feed

  • Question

  • Hi,

    I am uploading files of different types in custom list.I am using on premise sharepoint server 2016.After uploading file,based on file type,icon should be displayed in list.

    I am using calculated column approach.But after applying formula,I am getting error.

    Formula:=IF([File Type]="WORD", "<DIV><img src=' Library/forSaleNew.png/'><DIV>", "")

    I have also tried to set image using picture column.I used jquery for it.But then too I am not able to display an image.
    What is the actual approach?Please ellaborate in steps if possible.

    Friday, July 19, 2019 1:16 PM