MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-GooglePhotos

    Scheduled Pinned Locked Moved Entertainment
    294 Posts 56 Posters 341.2k Views 59 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      orayoflighto Project Sponsor
      last edited by

      I just updated to the latest And my photos stopped displaying. Anyone else have this issue?

      I just get Loading…

      S Z O 3 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @orayoflighto
        last edited by

        @orayoflighto open the developers window ctrl-shift-i on the keyboard, select the console tab and scroll up for any errors

        did u also run npm install in the MMM-GooglePhotos folder?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • G Offline
          gonzonia @Guest
          last edited by

          @Sean I commented out autoInfoPosition because it seemed to break when I turned that on. The showWidth/showHeight match the screen resolution showing on the dekstop.

          	{
            			module: "MMM-GooglePhotos",
          			position: "fullscreen_below",
          		  	config: {
          			albums: ["NixPlay","MM-Family2"], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]
          			updateInterval: 1000 * 60, // minimum 10 seconds.
          			sort: "random", // "old", "random"
          			uploadAlbum: null, // Only album created by `create_uploadable_album.js`.
          			condition: {
          				fromDate: null, // Or "2018-03", RFC ... format available
          				toDate: null, // Or "2019-12-25",
          				minWidth: null, // Or 400
          				maxWidth: null, // Or 8000
          				minHeight: null, // Or 400
          				maxHeight: null, // Or 8000
          				minWHRatio: null,
          				maxWHRatio: null,
          				// WHRatio = Width/Height ratio ( ==1 : Squared Photo,   < 1 : Portraited Photo, > 1 : Landscaped Photo)
          			},
          			showWidth: 1680, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
          			showHeight: 1050,
          			timeFormat: "relative", //"YYYY/MM/DD HH:mm", // Or `relative` can be used.
          			//autoInfoPosition: true,
            		}
          	},
          
          
          1 Reply Last reply Reply Quote 0
          • K Offline
            Kevinho195
            last edited by

            Hi @Sean,
            thanks for the great update. I want to hide the blurred background and did add

            GPHOTO_BACK {
            	display:none;
            }
            
            #GPHOTO_INFO {
            	display:none;
            }
            

            to my custom.css but it the blurred background is still there. For the info tab it did work and it disappeared. What am I missing?

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Kevinho195
              last edited by

              @Kevinho195
              You’ve missed #

              K 1 Reply Last reply Reply Quote 0
              • G Offline
                gonzonia @Guest
                last edited by

                @Sean Any idea what’s going on with the info box?

                G 1 Reply Last reply Reply Quote 0
                • K Offline
                  Kevinho195 @Guest
                  last edited by

                  @Sean sorry that was a copy/paste mistake. In my Custom CSS there is “#” in front of GPHOTO_Back. Anything else I could miss?

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gonzonia @gonzonia
                    last edited by

                    @Sean Any idea what’s going on with the info box?
                    Just a note. I added

                    #GPHOTO_INFO {
                    margin:100px;
                    }
                    

                    And the box shows now. The autoInfoPosition seems to be working now too. Don’t know what happened when I first tried it.
                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rinkymehra
                      last edited by

                      Awesome! Happy to see that this was created as a module.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        el_georgie
                        last edited by

                        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.

                        R 1 Reply Last reply Reply Quote 0
                        • G Offline
                          gonzonia
                          last edited by

                          I’m loving the Info Box addition now that it shows. I’ve hid the album cover and title because I’m not that organized.

                          I like how autoInfoPosition allows it to move around to prevent burn-in.

                          2 requests-

                          1. A way to select which corners it shows in.
                            I have other modules in top left and right that overlap with the info box. It would work better if it would just go back and forth on the bottom left and right.
                            I don’t think it would be hard to implement, (but I’m not a JS expert). I think if you changed the autoInfoPosition property to be a list (top left, top right, bottom left, bottom right) instead of a boolean and then based on the list you could populate the array with the necessary locations.

                          2. A way to control the format of the date (X years ago). I’d prefer to see the actual date of the photo.

                          Sorry if I’m out of line. This is one of the favorite modules in my house.

                          Thanks.

                          ? 1 Reply Last reply Reply Quote 0
                          • R Offline
                            rinkymehra @el_georgie
                            last edited by

                            @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.

                            Yes you are right ] tubemate mobdro

                            1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User @gonzonia
                              last edited by

                              @gonzonia

                              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.

                              G 2 Replies Last reply Reply Quote 0
                              • G Offline
                                gonzonia @Guest
                                last edited by

                                @Sean thanks. Will do.

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  gonzonia @Guest
                                  last edited by

                                  @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.

                                  ? 1 Reply Last reply Reply Quote 0
                                  • Z Offline
                                    zolabus @orayoflighto
                                    last edited by

                                    @orayoflighto Same problem for me did you find any solution? Always Loading…after last update

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z Offline
                                      zolabus @zolabus
                                      last edited by sdetweil

                                      @zolabus
                                      My config is

                                      {
                                        module: "MMM-GooglePhotos",
                                        position: 'middle_center',
                                        config: {
                                          albums: ["Noi"], 
                                          updateInterval: 1000 * 60,  
                                          sort: "random",
                                          showWidth: "426px",
                                          showHeight: "320px"    
                                        }
                                      },
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @zolabus
                                        last edited by

                                        @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

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        Z 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @gonzonia
                                          last edited by A Former User

                                          @gonzonia

                                          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.

                                          G 1 Reply Last reply Reply Quote 0
                                          • Z Offline
                                            zolabus @sdetweil
                                            last edited by

                                            @sdetweil Sorry I don’t understand if is a suggestion for my problem or how to post…
                                            Thanks

                                            S 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 14
                                            • 15
                                            • 1 / 15
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy