So I wanted a digital frame, and they were crazy expensive. So I bought a Raspberry Pi 4 and a monitor. The Google Photos slideshow option is stupid
fast, and can't be changed.
I found this script online to just auto change the photos without using slideshow. I am using Greasemonkey on firefox.
// @name google photos slower slideshow
// @namespace piframe
// @include photos.google.com...
// @version 1
// @grant none
// CHANGE first_photo TO USE THE URL OF THE FIRST PHOTO IN YOUR ALBUM
var first_photo = 'https://photos.google.com/album/XXXX/photo/XXXX';
// how often to change photo, in seconds
var interval = 60;
function pressKey() [
var key = 39; // right arrow keycode
var ke = new KeyboardEvent("keydown", [
bubbles: true, cancelable: true, keyCode: key
function next_or_prev() [
var current_url = window.location.href;
// I think there is a race condition with the URL updating after keypress, so we need to delay this slightly.
if (current_url == window.location.href) [window.location.href = first_photo;]
window.setInterval()[next_or_prev()], interval * 1000);
The problem is it does not work. Anyone know why?
I used the URL of my google photo album and put it in place of the * for album name, and I used the URL of the photo in place of the * for photo name.