How do I show Salesforce User profile photo on site

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi, I have similar issue. How do I show Salesforce user  profile photo on site. If i use <img src="{{{ProfilePhotoURL__c}}}">, it works on skuid page, but on site it does not display any image.
Photo of Pavithra


  • 440 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,014 Points 20k badge 2x thumb
In Sites, you do not have users, there is no authentication. Technically, all visits to a Site are treated as being performed by a "Site Guest User" associated with each site. This user does not have a Profile photo. Therefore, I am not sure what you are trying to show.