Google Drive File Hosting - Changes in "uc" URLs

Just wanted to post some general tests I recently performed with the changes in Google Drive File URLs that use the “uc” in the URL. It seems that image URLs that I have used in some Google Apps Script free standing web applications have not worked correctly for a long time when using “uc” in the URL. If you use HTML templates in Appsheet that have an image tag with a source URL to a google drive file this also needs to be updated.

For larger images I have found that

https://drive.google.com/thumbnail?id=YourFileID&sz=s1000 works in the tag, however I do not know if this will continue to function after May 1st. Alternatively the “&sz=s1000” can be left off, but this might not fill the container holding the image to the full size. I specifically use this in one of my html templates and this appears to work.

At least initially using the new suggested Google .

1 Like

It should only affect drive.google.com/uc.. URL, not drive.google.com/thumbnail..

1 Like

I have the same issue.

I have a script that creates URLs to PDF that should open in the print dialog, for a logistic process.

I use: https://drive.google.com/uc?print=false&id=[fileID]

But now the URL only downloads the PDF instead of opening the print dialog.

Someone know when will be the new URL structure for this?

@Markus_Malessa I was asking for a functional URL in a different thread and someone gave me the same structure you mentioned above (https://drive.google.com/thumbnail?id=YourFileID&sz=s1000).

I changed some of my files to that new URL structure, but others I left alone wanting to see what would happen after May 1st. Nothing has changed for me. I can see all the same files whether I changed the URL or not. I don’t know if it will stay that way.

I did ask in that other thread whether the size part of the URL was necessary, but I just found this thread and read your initial comment.

1 Like