Step 1. Create a folder on your disk
Enter your Google drive https://drive.google.com, press “New” in the upper left corner, select “New folder” and set the name.
Step 2. Allow public access to the folder
Right click on the folder and choose “Share”;
Choose “Advanced” in the lower right corner and click it;
In the appeared window, press “Change” and choose “On – public on the web”, then press “Save” and “Done”.
Step 3. Create the content
Enter the folder and upload your images or photo there.
Step 4. Get the URL id of the image
Right click on the image and choose “Allow URL access”;
Copy the URL that will be generated;
Get the URL id. It includes all the symbols, going after id=
https://drive.google.com/open?id=1rRB0X ... 2iqYzlvtvR
Step 5. Generate the direct image URL
Insert the id to the URL
http://drive.google.com/uc?export=view&id=PASTE YOU ID HERE;
Paste the resulting URL into the address bar of your browser;
Redirection is running. As soon as the page is loaded, you can copy the URL from the address bar and your image will be available at the copied URL.
Step 6. Insert into img tag
example
Here's how to post your images stored on Google Drive on to this Forum
-
- Site Admin
- Posts: 52
- Joined: Wed Jul 05, 2017 9:02 pm
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest