Jump to content
  • 0

Get image from Google Drive


Flowers4Algernon
 Share

Question

Hi everyone!

Just wanted to share this solution that I have done when I wanted to use my google drive as my image source. 

1. On your image's shareable link, copy the ID or the set of characters after /d/ and /view/.

2. Use the ID you have extracted to this new URL: https://drive.google.com/uc?export=view&id=

 

Hope this will help someone! 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello! I just want to add that you can also set the size of the image from the Google Drive by adding these code after the ID: &sz=w100-h100

So the syntax will be like this: https://drive.google.com/uc?export=view&id=&sz=w100-h100

You can also check this link: https://stackoverflow.com/questions/10311092/displaying-files-e-g-images-stored-in-google-drive-on-a-website#:~:text=https%3A//drive.google.com/a/domain.com/thumbnail%3Fid%3DimageID%26sz%3Dw{width}-h{height}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...