How To Embed Google Drive Images On Your Website

This guide will show you how to display photographs from your Google Drive on your website or in emails. Every image file on Drive has a high-resolution thumbnail that can be included in any webpage.

Do you need a location to host photographs so that you may embed them on your website? Although and are the most popular picture hosting sites, did you know that you can also upload images on Google Drive?

It works in this manner. You save an image file to Google Drive and make it public. Google Drive will now generate a high-resolution thumbnail image of the submitted file, which you can embed straight on your website or in emails.

How To Embed Google Drive Images On Your Website

Generate Google Drive Image Links

1. Distribute the File

Upload the image you want to embed in your website to Google Drive. Next, right-click the image and select Get link to obtain the upload file’s shareable URL.

2. Modify Permissions

Select Anyone with a link from the permissions drop-down menu within the share dialogue. This will make the file public to everyone with access to the sharing link on the internet. Even users who do not have a Google account will be able to access the content.

To copy the file’s link to your clipboard, click the Copy link button.

3. Create a Link

Then, navigate to the Google Drive Embed page and copy the file link into the input text box. Click the Generate button to get the image’s direct link, which you can then paste into your website or emails.

How are Drive Image Links Created?

Internally, the tool pulls the Open Graph image from the HTML by using the public URL to the image on your Google Drive. It then modifies the OG image’s s parameter to turn to a high resolution thumbnail. We utilise a similar method to gain direct links to Google Drive photographs.

Alternative Strategy

If you prefer to manipulate URLs on your own, here’s an alternative method for creating direct links to your drive images.

Make the picture file in your Google Drive public as previously described, and then copy the file link of the public image. The URL will look something like: K/view

The unique ID of the file is 13XE4Ah1aK5kSGniMbeard9DJ1iuroR K in the Google Drive URL. Replace that File ID with the following URL:

You can easily embed images into Google Sheets by following this link. The main disadvantage of this method is that you have no control over the size of the image that is generated. You may easily adjust the width parameter in the preceding example.


How Can I Embed Photographs FromGoogle Drive Into My Website?

Put your photograph in Google Drive. Share your image from the sharing option. Copy your sharing link (example: Copy the id from your link, which is 14hz3ySPn-zBd4Tu3NtY1F05LSGdFfWvp in the above link).

How Do I Include Google Photos In My HTML?

To get a shareable link for an image, go to, open it, and then select Share > Create Link. To build the HTML embed code, paste the Google Photos link into the space below.

How Can I Include A Google Drive File In A WordPress Post?

Log in to your WordPress website, go to the dashboard, and then to the “Admin” section. From there, select “Plugins” and then “Add New.” Enter “Google Drive Embedder” in the search field on the right. The plugin should appear in the results section, typically on the left.

How Can I Embed A Video From Google Drive Without Using An Iframe?

Now, on the right side of the video, there are three dots; click on them. Choose the Open in New Window option from the drop-down menu. The Google Drive video will show again, and this time, click on the three dots on the right side top. Select the Embed item option from the drop-down menu.

Leave a Reply

Your email address will not be published. Required fields are marked *