Uploading product images from Google Drive

Modified on Mon, 3 Aug at 11:41 AM

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:

  1. Copy the file ID from the sharing page URL.
  2. The file ID is the part between /d/ and /view.
  3. Paste the file ID into the direct URL structure: https://drive.google.com/uc?export=view&id=FILE_ID


Example:


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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article