Forum Discussion
Images no longer showing in SharePoint card gallery view
when i upload an image it no longer shows in the scorecard section of the gallery view. in the image attached you can see the two older ones at the top have an image still but the bottom one shows a broken image icon and no image.
all of the images are uploaded by opening the item and uploading the image straight into there so it should work the same way as all other images. Any ideas?
LukeJSmith Are you using Image columns to upload images in list. If yes, first of all check the src property value used for img tag in the gallery view JSON formatting.
With the recent updates to SharePoint Online and Microsoft Lists, if the attachments option is enabled in your list, images will be stored in same SharePoint list instead of storing in site assets library - and it does not return the correct value in "serverRelativeUrl" attribute.
Check more details at: SharePoint Online: All you need to know about New Image column type
You will have to adjust your src attribute value accordingly. Check the JSON given in this article which will give you some ideas about it: Download Image from SharePoint Image column using JSON formatting
Similar threads:
- List gallery view doesn't show images, while standard list view does
- Image JSON format in SharePoint
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
2 Replies
LukeJSmith Are you using Image columns to upload images in list. If yes, first of all check the src property value used for img tag in the gallery view JSON formatting.
With the recent updates to SharePoint Online and Microsoft Lists, if the attachments option is enabled in your list, images will be stored in same SharePoint list instead of storing in site assets library - and it does not return the correct value in "serverRelativeUrl" attribute.
Check more details at: SharePoint Online: All you need to know about New Image column type
You will have to adjust your src attribute value accordingly. Check the JSON given in this article which will give you some ideas about it: Download Image from SharePoint Image column using JSON formatting
Similar threads:
- List gallery view doesn't show images, while standard list view does
- Image JSON format in SharePoint
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Hello LukeJSmith
looks like you use a custom formatting.
As first, delete the custom formatting and try to upload a image again, so you can find out, is it i issue from the custom formatting or not.
Best, Dave