How To Embed Image from Google Drive to Your Website Like WordPress, Blogger, and or HTML Pages
As a blogger, you should always consider the importance of having a good quality of image being embedded on your blog or any kind of website that uses image to attract more of their visitors, and one of the main problems of a newbie blogger of any Blog platform such as the WordPress is the size of the image, because as we all know that the higher quality of the image the higher the size it will be which will use up your hosting most especially to those blogger who only use shared hosting.
So in this tutorial, we will guide you on how you can actually insert the uploaded image from Google Drive to your website using only a simple HTML code which is very easy to do, so below will be the step by step guide on how you can actually do it.
Step #1:
Log-in your Gmail account and go to https://drive.google.com/ where you need to upload the image you want.
Step #2:
Once you have done uploading the image you just need to get the ID of the image by simply do a right-click on the image you want to embed and choose the option Share then you will see a modal form that shows an option like the screenshot provided below.
Step #3:
After you click the Share options on Step #2, you will see another modal form which has the link for the image you want to embed, by default it will choose and option as anyone with the link can view just leave the option as is and click the text on the right side that says Copy Link (see image provided below.
Once you click that, it will now copy to the clipboard and you can open a text or in words to paste the link copied from the image you share, and it should look like this below.
Sample Link: https://drive.google.com/file/d/0B43mtPfA0ZZlcFhmOUlUZEtvOHM/view?usp=sharing
Step #4:
Now that we have the shared link of the image we want to embed, as you can see on the sample link provided on Step #3, we only need the highlighted ID of the image which is this one: 0B43mtPfA0ZZlcFhmOUlUZEtvOHM
copy that on follow the next step..
Step #5
We now finally copy the image ID generated by the Google Drive all you have to do is embed it now to your website and it should look like this.
Note: the ID sample is like this 0B43mtPfA0ZZlcFhmOUlUZEtvOHM
(i) https://drive.google.com/uc?id={id here}
(ii) https://drive.google.com/uc?id=0B43mtPfA0ZZlcFhmOUlUZEtvOHM
Final Output with HTML:
<img src="https://drive.google.com/uc?id=0B43mtPfA0ZZlcFhmOUlUZEtvOHM ">
That's it! it is very simple, you can save your hosting by saving your image to the google drive easily, but make sure that your account of Google drive is safe by securing your password, and always update the login details because if the image will be deleted on the google drive, it is obviously troublesome for you because it will not show up on your website because the file is not existing on the google drive.
So in this tutorial, we will guide you on how you can actually insert the uploaded image from Google Drive to your website using only a simple HTML code which is very easy to do, so below will be the step by step guide on how you can actually do it.
Step #1:
Log-in your Gmail account and go to https://drive.google.com/ where you need to upload the image you want.
Step #2:
Once you have done uploading the image you just need to get the ID of the image by simply do a right-click on the image you want to embed and choose the option Share then you will see a modal form that shows an option like the screenshot provided below.
![]() |
| screenshot provided by PHDirectories |
After you click the Share options on Step #2, you will see another modal form which has the link for the image you want to embed, by default it will choose and option as anyone with the link can view just leave the option as is and click the text on the right side that says Copy Link (see image provided below.
Once you click that, it will now copy to the clipboard and you can open a text or in words to paste the link copied from the image you share, and it should look like this below.
Sample Link: https://drive.google.com/file/d/0B43mtPfA0ZZlcFhmOUlUZEtvOHM/view?usp=sharing
Step #4:
Now that we have the shared link of the image we want to embed, as you can see on the sample link provided on Step #3, we only need the highlighted ID of the image which is this one: 0B43mtPfA0ZZlcFhmOUlUZEtvOHM
copy that on follow the next step..
Step #5
We now finally copy the image ID generated by the Google Drive all you have to do is embed it now to your website and it should look like this.
Note: the ID sample is like this 0B43mtPfA0ZZlcFhmOUlUZEtvOHM
(i) https://drive.google.com/uc?id={id here}
(ii) https://drive.google.com/uc?id=0B43mtPfA0ZZlcFhmOUlUZEtvOHM
Final Output with HTML:
<img src="https://drive.google.com/uc?id=0B43mtPfA0ZZlcFhmOUlUZEtvOHM ">
That's it! it is very simple, you can save your hosting by saving your image to the google drive easily, but make sure that your account of Google drive is safe by securing your password, and always update the login details because if the image will be deleted on the google drive, it is obviously troublesome for you because it will not show up on your website because the file is not existing on the google drive.



Comments
Post a Comment