UserScripts icon indicating copy to clipboard operation
UserScripts copied to clipboard

Request Picviewer CE+ support for google drive

Open Froktime opened this issue 4 months ago • 1 comments

I’ve noticed that when using “View current,” it opens these URLs:

In a folder or on the main screen: https://drive.google.com/u/0/drive-usercontent/1AHjwXHc7IYUZyNNOpY-UmGqvfsTPmy5h=s3072-v1-k-rw-v1-nu-iv1

When opening the image at the URL https://drive.google.com/file/d/1AHjwXHc7IYUZyNNOpY-UmGqvfsTPmy5h/view: https://drive.google.com/u/0/drive-viewer/AKGpihbH656WXYLX9304-m6wBbvijyCpr76pkpEW0cOHYZ0qOy9IyrHkWLcpbfPrNgH3KgnAgOUG6Okaz2MhnqiAthaQmZZN2GFD8JE=s1600-rw-v1

I’m not sure why they differ, but I suggest that when using “View current,” the image URL should be:

https://drive.google.com/u/0/drive-usercontent/1AHjwXHc7IYUZyNNOpY-UmGqvfsTPmy5h=s0
https://drive.google.com/u/0/drive-viewer/AKGpihbH656WXYLX9304-m6wBbvijyCpr76pkpEW0cOHYZ0qOy9IyrHkWLcpbfPrNgH3KgnAgOUG6Okaz2MhnqiAthaQmZZN2GFD8JE=s0

They are the same image but with different types of URLs. Changing the value after the “=” to s0 will give the original image.

Froktime avatar Aug 14 '25 18:08 Froktime

Thanks. I've updated the version, changing s3072 to s0.

hoothin avatar Aug 15 '25 10:08 hoothin