Show a random photo from an url.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 22e9d91 Apr 15, 2018
Failed to load latest commit information.
.gitignore initial commit Jul 26, 2016
MMM-RandomPhoto.js Fix getting stuck upon load error Jan 31, 2017 Update Apr 15, 2018
package.json initial commit Jul 26, 2016

No support

I don't support this module anymore. Few free to fork and modify it if you want to use it or fork another fork.


This a module for the MagicMirror. It will show a random photo from an url.


  1. Navigate into your MagicMirror's modules folder and execute git clone
  2. cd cd MMM-RandomPhoto
  3. Execute npm install to install the node dependencies.


The entry in config.js can include the following options:

Option Description
opacity The opacity of the image.

Type: double
Default 0.3
animationSpeed How long the fade out and fade in of photos should take.

Type: int
Default 500
updateInterval How long before getting a new image.

Type: int
Default 60 seconds
url URL to pull a new image from.

Type: string

Here is an example of an entry in config.js

	module: 'MMM-RandomPhoto',
	position: 'fullscreen_below',
	config: {
		opacity: 0.3,
		animationSpeed: 500,
		updateInterval: 60,
		url: ''


  • jquery (installed via npm install)

Special Thanks