So I am trying to create an ICT risk share list with SP online. The main requirement is adding the below image to the list for user information. So every time users create a new record, they can refer to this image to fill the form. With SP on-prem, we could add the new web part and use the content editor web part to add the image. I did some search, and I found the below code for adding a photo. However not sure how I can use "src" here to point to the image saved in the SP picture library.
can you please help.
{
"elmType": "img",
"style": {
"width": "100px"
},
"attributes": {
"src": "@currentField"
}
Image: