Read the statement by Michael Teeuw here.
MMM-GooglePhotos
-
@Sean thanks. Will do.
-
@Sean Totally forgot the date formatting (took me a while to see the infobox and I’d forgotten that was in the config). Thanks for pointing that out.
With the location of the infobox though I’d still like it to move around to prevent burn-in. If I set the position in CSS it’s static. That’s why I was looking at trying a different way. Can I use the callbackfunction to set multiple locations? I’d like it to go back and forth between bottom left and right. I tried modifying the Tip code you had so that the CSS would do that, but it doesn’t seem to be working. I can tweak JS a lot better than I can tweak CSS.
-
@orayoflighto Same problem for me did you find any solution? Always Loading…after last update
-
@zolabus
My config is{ module: "MMM-GooglePhotos", position: 'middle_center', config: { albums: ["Noi"], updateInterval: 1000 * 60, sort: "random", showWidth: "426px", showHeight: "320px" } }, -
@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_INFOwould 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?
-
@roccodicarlo
Sorry, impossible. Not designed for that. -
@roccodicarlo ok thanks included all the steps for the google autenthication?
-
@Sean I reinstall everything and done again google authentication but I still have Loading…and nothing loads…
Some suggestions?
Thanks -
- Show me your configuration
- What log says?
- How much albums and photos in your account?
-
@Sean
{
module: “MMM-GooglePhotos”,
position: “middle_center”,
config: {
albums: [“Noi”, “2019 New York”],
updateInterval: 1000 * 60,
sort: “random”,
showWidth: “426px”,
showHeight: “320px”
}
},Only 2 albums, I don’t know how to read the logs…
Thanks
-
@Sean Any news for me? Still not working
Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
