Home

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

Highlighted
hydbadi
New Contributor

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?

4 Replies

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,

@Carlis_Marins_Jr 

 

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?

 

list with images.png

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,

 

@Carlis_Marins_Jr 

 

OK. Thanks for the feedback.

 

I don't believe SharePoint Designer can be used with SharePoint Online. And, since the number of list items will be between 100 - 200, manually adding the URL is not an effective option.