Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Image Url from google Drive cannot visualize

Hello,

 

For the past two days, I've been experiencing issues with the display of photos on Power BI that use URLs from Google Drive.

Please help me.

  

15 Replies

    • AlpacaBI's avatar
      AlpacaBI
      New Member

      Your answer not only solved this new problem, but it also show me a new way to work with this kind of links.

       

      Thanks

  • esllen's avatar
    esllen
    Frequent Visitor

    I have the same problem on several panels.

    This problem has arisen in the last few days.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    If I understand correctly, the issue is that you couldn't display the image from Google Drive. Please try the following methods and check if they can solve your problem:

    1.Ensure the images on the Google Drive are publicly accessible.

     

    2.Google Drive shared links do not directly point to the image file itself but rather to a webpage. You need to use a direct link to the image.

     

    3.Checkthat the image url is in one of the supported formats.

     

    Best Regards

     

  • I'm facing a similar issue. Previously, I had a functioning method for displaying images stored on Google Drive, but it's no longer working.

    The images are accessible for anyone with a link and I have created an "image url". 

    Here is an example a Google Drive link: https://drive.google.com/file/d/1_JbEnHytGcEfSIO4a5xntXpnjYgNR-1v/view 
    And here is an example of the image url: https://drive.usercontent.google.com/download?id=1_KabVVna_EVLFgLo9PbphrnYDVsGjbXt

    Unfortunately, neither link works, resulting in no images being displayed in my Power BI (PBI) file:

     

     

    To eliminate the possibility of other datasets causing the issue, I created a new file solely with the imageurl table, but the error persisted. Publishing to the web service or trying to resolve this through the web service didn't solve the problem either.

    Does anyone have any troubleshooting suggestions or insights into what might be the issue? 

  • lu001188's avatar
    lu001188
    Regular Visitor

    I'm encountering the same issue. It used to work well. Sometimes I can see the picture on the Desktop version, however when I publish it online, it is showing the thumbnail but not the picture that was added.

     

     

    For the URL, I use the prefix: https://drive.google.com/uc?export=view&id= and I made sure that the file is public. I'm not sure if there is any changes on Power Bi that is creating this issue or it is due to Google updates.

     

    If you could help me with this issue, I would appreciate a lot.

     

    Thank you

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    Based on my testing, there are some limitations to display images in the Power BI.

    1.The image needs to be in one of these file formats: .bmp, .jpg, .jpeg, .gif, .png, or .svg.

     

    2.The URL must be anonymously accessible, not on a site that requires a sign-in, such as SharePoint or OneDrive for work or school.

     

    3.You can view the following link to know the considerations.

    Display images in a table, matrix, or slicer in a report - Power BI | Microsoft Learn

     

    Best Regards,

    Wisdom Wu