Forum Discussion
Problems with image links
Hello!
I've been having some problems with image links in Power BI.
When I use links from the regular web it works fine in my reports.
But when I want to connect with images from a Sharepoint link, I can't see the pictures when I choose them in a slicer.
What could be the issue why I can't see them?
And I also want them to be dispayed in the same way, centered in a square
/Jesper
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.
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
11 Replies
- rohit1991Super User
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.
- JayZee70Helper I
I am copying the link from a Teams folder (Sharepoint link)
I make sure that the link ends with *.jpg
I paste the link in a column in the corresponding row for that Product ID in my excel datasheet
I have set the column to read Image-URL, but this is what I get
I don't understand why it doesn't work...
- rohit1991Super User
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.
- JayZee70Helper I
These are my options:
It seems like I can not choose that "Anyone with the link", like an anonymous/public Image URL
- rohit1991Super 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.
- AnonymousNot applicable
Hi JayZee70,
Thank you for reaching out to the Microsoft Fabric Forum Community, and special thanks to rohit1991 , danextian and amitchandak for prompt and helpful responses.
Just following up to see if the Response provided by community members were helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.
Best regards,
Prasanna Kumar - AnonymousNot applicable
Hi JayZee70,
Just following up to see if the Response provided by community members were helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.
Best regards,
Prasanna Kumar