googlephotos
This is a working application but will also be continuously worked on
I created this as a class because I want to add other functionality later., (*1)
simple class to get google photos from a google drive folder, (*2)
install by composer, (*3)
composer require robert-mill/googlephotos:dev-master, (*4)
- in google drive navigate to the folder containing the photos/images to be displayed.
- open folder and copy the url from the top of the browser
-
the url can be saved into a databse and called any way you wish or pasted directly into a new instance of the class, (*5)
require_once './robert-mill/classes/GooglePhotos.php';, (*6)
$albumid = '0B3WE-Ir69w7CQnlHREp4TFJmWk0';
$googlepicsClass = new robertmill\classes\GooglePhotos($albumid);
$data = $googlepicsClass->buildAlbum();
echo $data;
-
Style the iframe to fit, (*7)