- Upload image to Google Drive
- Make the image publicly shareable, and get the sharing URL
- The URL might be something like
https://drive.google.com/file/d/foo
- Rewrite this to something like
https://drive.google.com/uc?id=foo
- When you enter this link in the browser, you'll get another link, something with
docs.googleusercontent.com
in the URL - Go ahead and embed this last link ...
Last active
April 2, 2023 10:36
-
-
Save agam/9a3b6a140cdba92bb9a6 to your computer and use it in GitHub Desktop.
Convert Google Drive url for Images to a URL that can be used as a Direct Link
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Upto the 5th stage i have done it successfully but after that what should i do? I got the image link as docs.googleusercontent.com.