Forum Discussion
Anthony-123
May 16, 2022Iron Contributor
Hyperlink column stopped displaying as Picture.
This has been working for a couple years and just stopped working today. I've confirmed that the option to Format URL is set to Picture. I've tried switching it to URL then back to Picture with no ch...
- May 20, 2022
Hello Anthony-123
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
Anthony-123
May 19, 2022Iron Contributor
Really? No one can help with this?? Let's see how fast I get a response in reddit...
May 20, 2022
Hopefully you got an answer for this on reddit- I can't duplicate the issue. If I create a new list, you don't have the same options as there is an image field. I found a classic list that I created a few years ago that did have the option when I created a new hyperlink column, but it worked as expected with both an absolution and relative URL.