Read the statement by Michael Teeuw here.
MMM-GooglePhotos
-
@zolabus please use the markup around config, or code
triple backtic (on US keyboard to left of the 1 key) on a separate line before and after
-
autoInfoPosition:
can have callback function to adjust the position.
By default,GPHOTO_INFO
would have these value;#GPHOTO_INFO { position:absolute; top: var(--top); left: var(--left); bottom: var(--bottom); right: var(--right); margin:10px; ...
so if your callback
autoInfoPosition(album, photo)
might return['10px', '10px', 'none', 'none']
, it will be the same with;#GPHOTO_INFO { position:absolute; top: 10px; left: 10px; bottom: none; right: none; margin:10px; ...
You can add some randomized generated value as returns per photo, It will be a help.
-
@sdetweil Sorry I don’t understand if is a suggestion for my problem or how to post…
Thanks -
@zolabus how to post
-
@Sean Thanks. I think I have it working. Here’s what I used.
autoInfoPosition: (album, photo)=> { var boolRightLeft= Math.floor(Math.random() * 2); if (boolRightLeft == 1) { return ['none', '0', '0', 'none'] // This will show photo info bottom-left corner. }else{ return ['none', 'none', '0', '0'] // This will show photo info bottom-right corner. } }
-
This new version works great. Thanks for all your effort. Is it possible to rotate the photo (similar to rotation of sticky on MMM-Memo) so that it looks like a photo on a cork board. I would like to rotate it ± 20 degrees.
-
This post is deleted! -
@roccodicarlo did you reinstall everything? Because I have loading…forever…
-
Yes I reinstalled everything
-
@Sean How would it be possible to run multiple instances so that I can have two picture frames displayed?