Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Randomly changing clock background image when the screen turns on

Hey team, newbie here working on my first clockface. 

 

Curious to know if there is a way to randomly change the background image (from uploaded images) each time the screen is turned on? I've been able to get a basic clockface with one uploaded image working, but can't seem to figure out randomly changing between several.. 

 

Any help would be appreciated!

Best Answer
0 Votes
2 REPLIES 2

Hi @MTants I've moved your question to the Development board. 

There are several faces that do switch background photos, but I'm not sure how frequently. 

Best Answer
0 Votes

This can be done by changing .href of the <Image> element in your app/index.js. You probably want to do it in your display onchange listener.

Peter McLennan
Gondwana Software
Best Answer
0 Votes