Forum Discussion
Problems with image links
- 8 months ago
Hii JayZee70
SharePoint doesn’t expose a real image URL by default, so Power BI can’t render it in an image slicer. The link you get from SharePoint usually opens a viewer page (contains “?web=1” or “?cid=…”), not the actual JPG/PNG file. Power BI only displays images when the URL ends directly with the file extension. Open the image in SharePoint >> select “Copy link” >> choose the Direct file link >> use that URL in your table. After that the images will show correctly and can be centered in the slicer.
- 8 months ago
JayZee70 , There is a workaround that allows a SharePoint image to be viewed on the Service. Please refer video from Guyinacube -https://www.youtube.com/watch?v=EowHdhy-Nio
Hii JayZee70
Even if the link ends with .jpg, Teams/SharePoint often generates a secure token URL that Power BI cannot render. These links require authentication and Power BI’s image control does not support them. To make it work you must convert the file to an anonymous file URL. In SharePoint >> select the image >> click Copy link >> change the link type to ‘Anyone with the link’ >> then copy that URL. Only public/anonymous image URLs can be displayed in Power BI visuals. The current Teams link is still permission-controlled, so the image will remain blank.
- JayZee708 months agoHelper I
These are my options:
It seems like I can not choose that "Anyone with the link", like an anonymous/public Image URL
- rohit19918 months agoSuper User
Hii JayZee70
Your tenant has disabled “Anyone with the link”, so SharePoint only gives authenticated URLs. Power BI cannot display images from authenticated links only public/anonymous image URLs work. You’ll need admin to enable that option or store the images somewhere that supports anonymous links.
- JayZee708 months agoHelper I
OK, that was the answer I didn't really want but unfortunately expected.
I have talked to our IT department and it is slim to none chance that I could get an exception from the very high security settings...
I might ask if I could get an "Image" add-on to my visualizations so I can make it work that way.
Thanks for your help!
- amitchandak8 months agoSuper User
JayZee70 , There is a workaround that allows a SharePoint image to be viewed on the Service. Please refer video from Guyinacube -https://www.youtube.com/watch?v=EowHdhy-Nio
- JayZee708 months agoHelper I
Thanks. I will look at the video.