From SharePoint Online, I have a Hyperlink or Picture column which I am using for Picture. If the user does did not supply a picture for this column, it will look something like this.
When not in edit mode, how can I either:
- Replace that default picture for another picture in this column
- Remove the default broken picture all together for this specific instance (i.e. hide it with conditional formatting)
- Use JSON (conditional formatting) to set CSS to display none on this column, or set background-color to white for column
all if the user did not provide a picture, all in Gallery View.
Are any of these steps possible today with SharePoint Online?
If you look through the console, on a list that is in Gallary mode, I would like to remove this default code for the default picture icon loaded through SharePoint. I want to remove it or change it up. I want to place my own custom default image here instead.
<svg style="display:;" preserveAspectRatio="none" viewBox="0 0 210 105" class="sp-card-defaultImage ms-bgColor-themeLighter" focusable="false"><path id="sp-card-defaultImage-path1" d="M0 25.7896L126.5 53.8817L96 105H0V25.7896Z"></path><path id="sp-card-defaultImage-path2" d="M96 105L158.7 0H204C207.314 0 210 2.68629 210 6V105H96Z"></path></svg>