Select to view content in your preferred language

Google drive image in Image Widget of Experience Builder

444
1
01-20-2024 05:30 PM
AdityaRoshan
New Contributor

Addimg image to Image Widget using URL was working fine until last week.

Example URL: https://drive.google.com/uc?export=view&id=1viR6NT-ok4KWnh4tjyg8dJFVeO1l0aAB

Since past couple of days its not showing the image in the widget and when I got edit the url in the widget it is showing Invalid Url error.

Another change I noticed that, earlier the link https://drive.google.com/uc?export=view&id=1viR6NT-ok4KWnh4tjyg8dJFVeO1l0aAB used to open image in the browser but now it is opening the image by redirecting to https://drive.usercontent.google.com/download?id=1viR6NT-ok4KWnh4tjyg8dJFVeO1l0aAB&export=view&authu.... It still display image in the browser when &authuser=1 is removed. But any of the link used in the widget throws invalid error message.

Any ideas about this development or work around to this problem will be highly appreciated.

When I change /download? in the link to /view?, it shows 404 error in the browser.

Thanks

When &authuser=1 at the end is removed, it still is displaying in the image in the browser. But when the link is used in image widget of Experience Builder, it say invalid link.

0 Kudos
1 Reply
vickyduran_AerialSphere
New Contributor III

Hi @AdityaRoshan

 

I found out that this issue has been reported on the Google Support community site (https://support.google.com/sites/thread/253003338/images-from-google-drive-in-embedded-html-no-longe...) and it seems the issue started around Jun 11th

I found a workaround solution by using this link for your image in the Image Widget 

https://lh3.googleusercontent.com/u/0/drive-viewer/AEYmBYQwlYjxF9UiOAP-WSrySXINO5Mia0FK8YJoPU3deEUyH...

The way I arrived at the link above is by using the following format first: 

https://drive.google.com/file/d/<Image Id>/edit

In your image case will be https://drive.google.com/file/d/1viR6NT-ok4KWnh4tjyg8dJFVeO1l0aAB/edit

Then, I dragged the image to obtain the final link

google_image.gif

Hope this helps

0 Kudos