So, what I'm trying to do is load up some resource files (.js, .css, etc.) to Google Drive. Basically, I'd like to use my Google Drive this as a sort of CDN. Is this possible? When I upload say, a .js file, I'd like to get a direct link (http://drive.google.com/test/test.js, for example).
You can use Google Drive to serve images for your website or for an email signature, website or many other purposes too.
Upload the google-drive-cdn folder to the /wp-content/plugins/ directory. Activate the plugin through the „Plugins“ menu in WordPress. Configure the plugin by going to the „Google Drive CDN“ menu that appears in your settings menu.
Workona lets you organize all your work for a project in one place. All the docs, links, & files for a project are contained within one workspace, so you don't need to search across scattered folders and files in Google Drive.
With images is easy: Upload it, then click preview. In Chrome (crtl+shift+J) or in firefox get the html text from that image: u will have something like:
<img src="https://drive.google.com/thumbnail?id=0B6czwVjwSt48SDJNRWZZWlFmZmM&authuser=0&v=1412661926713&sz=w1475-h579" class="a-c-ub-Aa a-c-Ma-td-Ib" alt="Displaying Koala.jpg" aria-hidden="true">
Then open that url in other tab (still using your gmail account), you will notice that you will open the image and obtain a new URL. This new URL is visible to open with non authenticated google account... this means that it is public.....
https://lh5.googleusercontent.com/SuA7NGIYC7uVg7XsIYnYSHEIDnTkLfa04Hm9dPSz8tbZZULdrxVMMIcB6MWTIXHGb0FKTQ=s220
And this is the way you can use it for hosting images.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With