How do I show Salesforce User profile photo on site

  • 1
  • Question
  • Updated 4 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


  • 520 Points 500 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 56,134 Points 50k 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.