Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
shaunguyver
Helper III
Helper III

Image viewer working for Web URL, not for One Drive or SharePoint

I have an image viewer connected to the below data set.

 

All of the images hosted on the public web work when selected, but when images are hosted on SharePoint or OneDrive, they come up with a broken link.

 

I have changed image field to 'Image URL' data type, but this has no effect.

 

Anybody know how I can link image URLs to SharePoint/One Drive and get it work work?

 

screenshot.jpg

1 ACCEPTED SOLUTION

Hi @shaunguyver,

 

In order to make the image address work, we should make sure that that you can share the files to anyone. Please ask your administrator  to change the setting in the Admin for one drive.

 

1.png

 

Then share the file to anyone and copy the link.

 

2.png

 

Paste the link to your browser, after the image has been loaded, copy the image address.

 

3.png

 

At last we can use the URL with no issue. Please check the result as below.

4.png

 

This way might be a bit complex, so I suggest you to use the OneDrive for personal instead of the Business.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

6 REPLIES 6
Abduvali
Skilled Sharer
Skilled Sharer

Hi @shaunguyver ,

 

See my solution in a similar thread!

https://community.powerbi.com/t5/Desktop/Unable-to-use-OneDrive-Business-share-link-to-display-image...

 

 

Please mark the solution if works for you.

Regards

Abduvali

v-frfei-msft
Community Support
Community Support

Hi @shaunguyver,

 


For One drive for business, Based on my test, we can get the URL of the images by opening the images in web browser and selecting “copy image address”. Then you should see the picture after changing image field to 'Image URL' data type.

 1.png2.png

 

For One drive for personal, we can get the URL directly by this way.

 

3.png

 

For SharePoint online, I suggest you contact your admin to check if he has enabled “Allow sharing to authenticated external users and using anonymous access links” and “Anonymous Access - anyone with the link in Sharing” in SharePoint Admin Center. Then you can get the link of the images in SharePoint following the steps in this similar thread.

4.png.

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Thanks for your detailed reply - I managed to get your solution for OneDrive for business working, by simply opening the image in my browser and copying the link. It actually produces the '....image.jpg' URL, which works.

 

However, this only works for the first image in my list of images. Every other image I have uploaded (they go from 'building1.jpg' through to 'building15.jpg') shows the broken link pic. All filenames are consistent, and the slicer produces the correct URL in a test table I have placed next to my image viewer visual. However, it seems to only want to show the first one.

 

Any idea why this might be? I'd upload my file, but the dataset links to one drive so would assume won't work on your local machine.

 

Thanks,

Hi @shaunguyver,

 

In order to make the image address work, we should make sure that that you can share the files to anyone. Please ask your administrator  to change the setting in the Admin for one drive.

 

1.png

 

Then share the file to anyone and copy the link.

 

2.png

 

Paste the link to your browser, after the image has been loaded, copy the image address.

 

3.png

 

At last we can use the URL with no issue. Please check the result as below.

4.png

 

This way might be a bit complex, so I suggest you to use the OneDrive for personal instead of the Business.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi - this seems to work now, it just wasn't working in desktop viewer. In the browser it works fine. Thanks for your help!

Anonymous
Not applicable

Hey, 2 years later, did you find the solution for the Desktop app? It's happening the same to me.

Also in Teams I'm not able to see them, but in Chrome they works fine

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors