Skip to content

Instantly share code, notes, and snippets.

@r4nd1
Created July 20, 2017 17:41
Show Gist options
  • Save r4nd1/66b2d9034d86ff8fa1f3a2b7d8debe21 to your computer and use it in GitHub Desktop.
Save r4nd1/66b2d9034d86ff8fa1f3a2b7d8debe21 to your computer and use it in GitHub Desktop.
Embed Image from Google Drive
// Code Old
https://drive.google.com/uc?export=view&id={fileId}
// Code from generate Google Drive
https://drive.google.com/open?id=0B2VHf0s1T5QZZW9yMzQ2ZVhTZTQ
// Final Code
https://drive.google.com/uc?export=view&id=0B2VHf0s1T5QZZW9yMzQ2ZVhTZTQ
// Sample on html
<img src="https://drive.google.com/uc?export=view&id=0B2VHf0s1T5QZZW9yMzQ2ZVhTZTQ" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment