Uploading images from Google Drive can be confusing because Google provides two different types of links:
- A direct file URL, which can be used as an image URL
- A sharing page URL, which opens the file preview page in Google Drive
Make sure to use the direct file URL when adding Google Drive images to Valigara.
Correct image URL
The correct image URL directly leads to the file on Google Drive and looks like this:
https://drive.google.com/uc?export=view&id=1GRGKRZrI3cQRpfZ6BsFjtLBJVQnon39R
Sharing page URL
The sharing page URL opens the file preview page in Google Drive and looks like this:
https://drive.google.com/file/d/1ajN1mjlEqVWh7jmgzAXWZnVHn1FrlL24/view?usp=sharing
How to rebuild the URL
To convert a Google Drive sharing page URL into a direct image URL:
- Copy the file ID from the sharing page URL.
- The file ID is the part between /d/ and /view.
- Paste the file ID into the direct URL structure: https://drive.google.com/uc?export=view&id=FILE_ID
Example:
- Sharing page URL:
https://drive.google.com/file/d/1ajN1mjlEqVWh7jmgzAXWZnVHn1FrlL24/view?usp=sharing - File ID:
1ajN1mjlEqVWh7jmgzAXWZnVHn1FrlL24 - Direct image URL:
https://drive.google.com/uc?export=view&id=1ajN1mjlEqVWh7jmgzAXWZnVHn1FrlL24
Important: The file must be shared publicly or available to anyone with the link. Otherwise, the image may not load outside Google Drive.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article