Forum Discussion
Display thumbnail of image attachment within cell of SharePoint Online 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,
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?
- DeletedMay 27, 2019
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,
- hydbadiJun 11, 2019Copper Contributor
Deleted
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.
- BrandiLaRueSep 15, 2023Copper Contributorthis can be done with powerapps and if you dont really want to modify the SP form you could also run a powerautomate flow to grab the 1st attachment's url on new item add and populate it in your image field.