Forum Discussion

hydbadi's avatar
hydbadi
Copper Contributor
May 24, 2019

Display thumbnail of image attachment within cell of SharePoint Online List item

I have a SharePoint Online List to which data (include image attachments) is entered by users through a PowerApp. Is there a way to display a thumbnail of the image within a cell of the list item?

  • Hey hydbadi ,

     

    Are you talking about modern lists?

     

    Either way, you can create an Image field paste the Image URL into it. Sharepoint will display it as an image.

     

    Regards,

    • hydbadi's avatar
      hydbadi
      Copper Contributor

      Deleted 

       

      OK. I was able to manually enter the URL for the attachment and was able to get the image to display within the list item. However, is there a way to display thumbnail in the Image column automatically if an attachment is present in the list item? The list users may or may not attach images and I do not want to manually enter a image URL to each item. I am guessing I need a formula or JSON to achieve this?

       

      • Deleted's avatar
        Deleted

        Hey hydbadi ,

         

        I don't think there is a OOTB way to accomplish what you're looking for. Although maybe you can use a SHarepoint Designer workflow to copy the URL of the image if the user uploaded one and set it to the img Field. Other than that, I believe uploading the image and having Sharepoint reference it is the way to go. Lemme know if you need any help.

         

        Regards,

         

Resources