Read the statement by Michael Teeuw here.
MMM-GooglePhotos
-
@el_georgie said in MMM-GooglePhotos:
I have to comment out // autoInfoPosition: true,… if not it just says loading and never does, and it does not move either. Otherwise, great update! Love the changes.
-
A way to select which corners it shows in.
You can locate it by CSS. I wrote some example on tip section. read the readme
A way to control the format of the date (X years ago). I’d prefer to see the actual date of the photo.
It could also be controllable by configuration. Read the readme again.
-
@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_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