I have created SharePoint Hosted App. I am loading current user profile data from user profile service. When loading the image using PictureURL property image loading fail.
- Tried directly using the PictureURL which points to mysite user photos location.
- Tried using host web layouts userphoto.aspx url.
But both scenarios failed to load the profile picture. I have understood this issue is because of cross domain url.
Please help how to solve this problem.