layout('template', ['title' => 'Photos Library API PHP Sample', 'additionalStylesheets' => ['views/style.css']])

Create a new album

Cancel

This is your Google Photos library

You've used the photoslibrary scope to view the albums in the user's library.

Use the create action to add a new album.

insert('album_grid', ['albums' => $albums, 'photoLink' => 'album.php']);?> insert('image_grid', ['mediaItems' => $mediaItems]); ?>