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.
simple class to get google photos from a google drive folder
install by composer
composer require robert-mill/googlephotos:dev-master
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
$albumid = '0B3WE-Ir69w7CQnlHREp4TFJmWk0'; $googlepicsClass = new robertmill\classes\GooglePhotos($albumid); $data = $googlepicsClass->buildAlbum(); echo $data;
Style the iframe to fit