photo
3 TopicsVisitors can't see photos on my SharePoint site
Hi, When I create a SharePoint site and pages, people I share it with, can't see the photos I post on my page. It keeps reporting errors. Either I post the in a gallery or if I post only one photo, it wouldn't load for anyone except for owners or people with full access to the page. But obviously I do not like the idea, that if I want to show the contents of a page to someone I have to give the full access, I would like for then just to be viewers and to be able to download certain documents. Am I doing something wrong? I didn't find the answers to that anywhere else so I'm asking you to help me out. Thank you.Solved14KViews0likes6CommentsUser photo showing up everywhere but SharePoint user profle
Hello. I'm aware there're many threads about SharePoint user profile pictures not showing in different ways. We've been facing an issue which I couldn't find a solution nor fix it myself. We're using Exchange Online and set user profile photos with a scheduled PowerShell script via Set-UserPhoto. This works as intended and the photo is showing everywhere, Exchange Online, Teams, SharePoint Online, Delve etc. The only place where it doesn't show is in the SharePoint user profile service's user profile. You know, the /_layouts/15/tenantprofileadmin/ProfAdminEdit.aspx in the SharePoint admin center. The mysite collection where these pictures are supposed to be hosted contain the LThumb, MThumb and SThumb thumbnail placeholders but not the actual photos. As far as I understand the logic is that when using EXO a user has to browse his Delve profile page which will trigger a sync to the SharePoint user profile - not so for us. I've experimented with the two settings that should have an effect on this sync mechanism: - SPS-PictureExchangeSyncState - SPS-PicturePlaceholderState As far as I interpret those settings SPS-PictureExchangeSyncState means that unless this is enabled not photos can be pulled from EXO and an admin has to manually upload a photo in the user profile service. SPS-PicturePlaceholderState I think indicates whether or not a picture has been set if it's 0 and set if it's 1 but I'm not sure if it's the other way around. Anyway, apart from manually setting the picture here it's not pulling from EXO. If anyone knows anything I'd appreciate your comments. Thanks.1.7KViews0likes0CommentsHow to create an <img> tag containing MSGraph photo/$value response BLOB
I'm creating a Sharepoint Application (using Shrepoint Framework) and I'm not being able to retrieve the Pohto BLOB returned when calling MSGraph "/me/photo/$value" api. I don't know how to convert the BLOB into a Base64 string. I know that the responseraw.body is a readable stream, but don't know hot to access it and use as a SRC of a IMG tag. I have made many attempts, I'm writing one to explain what I'm trying to accomplish: this.context.msGraphClientFactory .getClient() .then((client: MSGraphClient): void => { client.api('/me/photo/$value') .get((error, response: any, rawResponse?: any) => { const blobUrl = window.URL.createObjectURL(rawResponse.body); document.getElementById("myPhoto").setAttribute("src", blobUrl); }); }); This code fails because creteObjectURL has been deprecated. The MSGraph call works, but I can't process the response. Any suggestions?1.2KViews0likes1Comment