• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 254.0k 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.
  • ? Offline
    A Former User @gonzonia
    last edited by A Former User Apr 17, 2020, 1:23 PM Apr 17, 2020, 1:22 PM

    @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 Apr 17, 2020, 4:30 PM Reply Quote 0
    • Z Offline
      zolabus @sdetweil
      last edited by Apr 17, 2020, 2:49 PM

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

      S 1 Reply Last reply Apr 17, 2020, 3:12 PM Reply Quote 0
      • S Offline
        sdetweil @zolabus
        last edited by Apr 17, 2020, 3:12 PM

        @zolabus how to post

        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 Apr 17, 2020, 4:30 PM

          @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.
          					}
          			}
          	
          
          1 Reply Last reply Reply Quote 0
          • R Offline
            roccodicarlo
            last edited by Apr 18, 2020, 4:00 AM

            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.

            Z 2 Replies Last reply Apr 18, 2020, 9:29 AM Reply Quote 0
            • Z Offline
              zolabus @roccodicarlo
              last edited by Apr 18, 2020, 9:29 AM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • Z Offline
                zolabus @roccodicarlo
                last edited by Apr 18, 2020, 9:40 AM

                @roccodicarlo did you reinstall everything? Because I have loading…forever…

                1 Reply Last reply Reply Quote 0
                • R Offline
                  roccodicarlo
                  last edited by Apr 18, 2020, 6:33 PM

                  Yes I reinstalled everything

                  Z 1 Reply Last reply Apr 19, 2020, 6:16 PM Reply Quote 0
                  • R Offline
                    roccodicarlo
                    last edited by Apr 18, 2020, 7:00 PM

                    @Sean How would it be possible to run multiple instances so that I can have two picture frames displayed?

                    ? 1 Reply Last reply Apr 18, 2020, 7:25 PM Reply Quote 0
                    • ? Offline
                      A Former User @roccodicarlo
                      last edited by Apr 18, 2020, 7:25 PM

                      @roccodicarlo
                      Sorry, impossible. Not designed for that.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 20
                      • 21
                      • 22
                      • 23
                      • 24
                      • 29
                      • 30
                      • 22 / 30
                      22 / 30
                      • First post
                        217/294
                        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