Forum Discussion
Image column format,
- Feb 01, 2024
lidordayan src attribute should be something like this:
"src": "=if([$Image.serverRelativeUrl],[$Image.serverRelativeUrl],@currentWeb+'/Lists/**YOUR-LIST-NAME**/Attachments/'+[$ID]+'/'+[$Image.fileName])"
Where Image is the internal name of your SharePoint image column. Also, make sure to edit the above JSON and replace the **YOUR-LIST-NAME** placeholder with your list’s name, as it appears in the list URL (including special characters).
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
lidordayan If you are not otherwise using attachments, you can go into Advanced List Settings and disable attachments. Then new image uploads will be saved back into the Site Assets folder and your original code will work again.
Note that disabling attachments will delete any new images, so make sure you have a copy locally so you can re-upload.