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
DaveMehr365
May 20, 2022MVP
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-123May 20, 2022Iron ContributorHoly Moly! You've fixed it David!
Can't thank you enough. This is one of the very few times I've gotten a helpful resolution on these forums 🙂
Have an easy Friday!!