Solved

Error message display image

  • 4 March 2024
  • 5 replies
  • 69 views

Badge

Hi everyone,

 

I am trying to display images in my reports but i get this error message “The image couldn’t be displayed”

 

The link is working when pasting it in the browser, and the source is authorized 

Here is the link of the Image i would like to display : https://drive.usercontent.google.com/download?id=1P7ssJsoxLzsQjkGdRf_b4EFTYvIbAQmr&authuser=0

 

Thank you in advance for your help

icon

Best answer by Keiran 4 March 2024, 16:43

View original

5 replies

Userlevel 3
Badge +5

Hello @aseghir ,

 

Thank you for raising this point.

 

I have previously noticed that adding “.png” or whatever the format of the file was to the end of the URL helped. Have you tried it?

 

Many thanks,

Bruno

Userlevel 5
Badge +8

Hi there! I hope you’re having a great day.

I’ve had a look at this, based on the URL you've presented in your message, my guess is that you're not actually linking to the image, but the shared url.

For instance, the url you provided:

https://drive.usercontent.google.com/download?id=1P7ssJsoxLzsQjkGdRf_b4EFTYvIbAQmr&authuser=0

Is the URL of the webpage showing the image, not the image itself.

Make sure you're linking to the actual image itself, I’d usually expect the URL to end with a .png or .jpg, representing the file type.

Hope this helps!

Badge

Hi Keiran

Thank you for your help !

Unfortunately i couldn't figure out how to set the images

When i copy the link from the google drive

, all i get is this link https://drive.google.com/file/d/1ckfWg82_LTwAW8sS_4LrK1CA0uysjIOO/view?usp=sharing

Drive google is authorized.

Is there something that i'm doing wrong ? should i store the images elsewhere ?

Thank you

Userlevel 5
Badge +8

Hi,

Apologies, I should have mentioned in my previous message, unfortunately due to Google changing their cookies policy in January 2024 you will not be able to use Google Drive to host this image.

I’d recommend speaking to your IT team to get the URL of an image hosted on your website. In this case, I’ve taken the liberty to review your homepage, and the URL https://www.polarisintelligence.com/wp-content/uploads/2019/07/cropped-Polaris-FINAL-WITH-TEXT-1.png may work well for you.

I hope this helps!

Badge

Thank you so much Keiran.

Now I understand why all the images that were loaded just disapeared.

 

Thank you @Keiran & @BrunoRodriguez for your time.

 

Ali

Reply