DEV Community

Cover image for Host your images on Google Drive for free [Step By Step].
Narottam04
Narottam04

Posted on • Edited on

5 1

Host your images on Google Drive for free [Step By Step].

When you want to share a photo or gallery with friends, family, or even on the entire internet, an image hosting site is the best way to upload, store, and share your files. However, there are many image hosting sites, all with different features, some are free and some are paid, with free ones there is a risk of security and with paid ones, the problem is you have to pay money monthly. In this article, we will be hosting our images on good old trustable Google Drive.

https://media.giphy.com/media/5wWf7GMbT1ZUGTDdTqM/giphy.gif

Step 1: Open Google drive and get the link of the image.

First, log into your Google account and open Google Drive. Navigate to the image you want to host

google drive

As an eg. I will be hosting my Instagram post 2.png which is stored on my google drive.

PS: if you want to learn more about web development consider following my Instagram @_webdrip

Step 2: Get the sharable link

Right-click on the image you want to host, and click on 'Get Link'.

drive

Change the 'Restricted' option to 'Anyone with link'.

link

Step 3: Copy the link

Copy the link by clicking 'Copy Link' button or by selecting the link and pressing 'CTRL + C' on your keyboard

copy link

Step 4: Go to hostdriveimage.pages.dev

Now go to this website https://hostdriveimage.pages.dev/ and paste the image link that you have copied from the drive and click on the 'generate' button.

website


Step 5: Check if it is working

Voila! if you have followed the steps properly your image will be hosted and will be live to be shared on the internet or with your friends.

final link

To check the image I have hosted click on this link: https://drive.google.com/uc?id=1MVHhp5WBHwhR1k-S0V52lajFs3Q4GPaa

hosted image

If you any doubts feel free to comment down below, would love to help you.

PS: All the images on my blog website https://blog.webdrip.in/ are hosted on google drive, Do give a visit!

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay