I am using a code from above link, I have changed all $Picture to make list value, weird thing is when I remove the JSON code the image shows:

attributes": {
     "src": "=if([$Picture] == '', @currentWeb + '/_layouts/15/userphoto.aspx?size=M', [$Picture])",
     "title": "=if([$Picture] == '', 'No picture available', [$Picture.desc])"
  • Have you checked whether the image url is correct in the developer tools? – Amos_MSFT Oct 21 '20 at 2:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.