You'll need to grab the ID of the image. Easiest way on the desktop is to right click the file, dive into the Google Drive subcontext menu and choose View on the Web. Grab the string of characters from there and replace the XXX in the code below with it.
Last active
February 5, 2024 16:52
-
-
Save evansims/f23e2f49e3d4be793038 to your computer and use it in GitHub Desktop.
Embedding or sharing a image or photo uploaded to Google Drive.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://drive.google.com/uc?export=view&id=XXX"><img src="https://drive.google.com/uc?export=view&id=XXX" style="width: 500px; max-width: 100%; height: auto" title="Click for the larger version." /></a> |
Thank you so much @ildarius.
I resolved the image showing problem from google drive.
Thank you so much for this!! It's working fine!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
anyone looking to strip the id from a url this worked for me