How do I show Salesforce User profile photo on force.com site

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

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 Force.com Sites, you do not have users, there is no authentication. Technically, all visits to a Force.com 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.