var getLinks = require('gDriveScaledImages').getLinks;
var linksP = getLinks({
fileId: 'some public google drive image fileid',
thumbnailWidth: 400, // px
webContentType: 'view', // view or download, view is default
});
linksP.done(function(hash) {
console.log(hash);
/*
{
'thumbnailLink': 'some url to a temporary link of your scaled image at 400 px in width',
'webContentLink': 'a url to a full-sized version of your image'
}
*/
});
forked from joshterrell805-historic/gDriveScaledImages
-
Notifications
You must be signed in to change notification settings - Fork 0
raghunandan13k/gDriveScaledImages
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Get temporary links to scaled images on your google drive
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%