Forum Discussion
Mattw112
May 10, 2022Brass Contributor
Image Column in List
I have a SharePoint list that I have been using for probably 2 or 3 years. It is an Image Column. Typically when I add the url to the picture in the list int he column it shows the picture. For so...
- May 20, 2022
Hello Mattw112
you can use an column formatting on the picture column so you can show your picture instead of the url.
Try this:
{"elmType": "a","attributes": {"href": "@currentField","target": "_blank"},"children": [{"elmType": "img","style": {"width": "150px"},"attributes": {"src": "@currentField"}}]}Regards, Dave
lthiers
May 19, 2022Copper Contributor
Hi Mattw112 i'm seeing the same behavior on my SharePoint list.
My guess is, Microsoft changed the the column type to url only
and added a new column type image:
A bummer for me, because now i have to recreate all the images in my lists.
Update: the quality of the images is now unusable. Just a blurry mess.