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

Image Galery

Scheduled Pinned Locked Moved Requests
34 Posts 13 Posters 30.0k Views 14 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.
  • W Offline
    Woody
    last edited by Oct 18, 2016, 5:50 PM

    With the origin MM version 1.0 I realized this with Scott Robbins jquery plugin ‘Backstretch’. This was realy simple to integrate and has satisfied my demands. Unfortunately I couldn’t get it running with the new MM version 2.0. Maybe someone with a higher skill level than myself may succeed. http://srobbin.com/jquery-plugins/backstretch/

    1 Reply Last reply Reply Quote 0
    • M Offline
      mikenewhouse
      last edited by Nov 22, 2016, 9:39 PM

      Bump, would love the Flickr API worked in. I have it working on DAKBoard but would like to use M2

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jeff
        last edited by Nov 25, 2016, 7:55 PM

        Is it important that it’s flickr?
        I’m using my picture frame with instagram. I created a new instagram acc, registered as a dev and received the API.
        The new instagram account is made private, so it’s just possible for me to see the pictures.
        Works perfect!
        I used this this modul:
        https://github.com/kapsolas/MMM-Instagram

        F M 2 Replies Last reply Nov 25, 2016, 9:45 PM Reply Quote 0
        • F Offline
          fragator @Jeff
          last edited by Nov 25, 2016, 9:45 PM

          @Jeff
          I did exactly the same thing as you,
          And it works perfectly well.
          J adds, or removes pictures as I wish.
          I would like to succeed to change the size of the photos on the mirror, what you do ???

          J 1 Reply Last reply Nov 25, 2016, 11:31 PM Reply Quote 0
          • J Offline
            Jeff @fragator
            last edited by Jeff Nov 25, 2016, 11:33 PM Nov 25, 2016, 11:31 PM

            @fragator
            I thought that would be a quick thing ;)
            But I can’t find the right parameters neigther…

            I was looking at

             getStyles: function() {
                    return ['instagram.css', 'font-awesome.css'];
            

            but can’t find font-awesome.css. Maybe just a file the creator forgot to delete.

            The pictures are smaller in the mirror, than they are on instagram.
            So there must be a parameter somewhere.

            I’ll keep searching for them or try to add some.

            We should go to the original thread for this modul:
            https://forum.magicmirror.builders/topic/396/mmm-instagram-pull-and-animate-photos-from-instagram-feed

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jeff
              last edited by Jeff Nov 26, 2016, 1:50 AM Nov 26, 2016, 1:19 AM

              Take this one :)
              https://github.com/jeffjoe/MMM-Instagram

              Or just change in the config.js:

              {
                  module: 'MMM-Instagram',
                  position: 'top_right',
                  config: {
                      access_token: '......',
                      count: 200,  
                      min_timestamp: 0,
                      animationSpeed: 5500,
                      updateInterval: 12500,
                      instaMaxWidth: '20%', // Optional parameter, can be relative (percentage) or absolute (px)
                      instaMaxHeight: '' // Optional parameter, can be absolute only (px)
                  }
              },
              

              and in the MMM-instagram.js use this

              // set the first item in the list...
                      if (this.activeItem >= this.images.photo.length) {
                          this.activeItem = 0;
                      }
                      
                      var tempimage = this.images.photo[this.activeItem];
                      
                      // image       
              	//imageLink.innerHTML = "<img src='https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png'>";
                      
              
                      var imageWrapper = document.createElement("img");
              	    imageWrapper.src = tempimage.photolink;
              	    imageWrapper.id = "MMM-Instagram-image";
              	    imageWrapper.style.maxWidth = this.config.instaMaxWidth;
              	    imageWrapper.style.maxHeight = this.config.instaMaxHeight;
              	    imageDisplay.appendChild(imageWrapper);
                      
              
              	wrapper.appendChild(imageDisplay);
                     
                      return wrapper;
                  },
              

              and for using the css file use:

              #MMM-Instagram-image {
                  }
              

              e.g.:

              #MMM-Instagram-image {
                  -webkit-filter: invert(1);
                  filter: invert(1);
              }
              S F 2 Replies Last reply Nov 26, 2016, 9:59 AM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @Jeff
                last edited by Nov 26, 2016, 9:59 AM

                @Jeff the font-awesome.css is located in the vendor directory of MagicMirror

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fragator @Jeff
                  last edited by Nov 26, 2016, 9:16 PM

                  @Jeff
                  I tried the method, it does not always work. He must have a simpler method to enlarge these photos on the mirror.

                  J 1 Reply Last reply Nov 26, 2016, 9:17 PM Reply Quote 0
                  • J Offline
                    Jeff @fragator
                    last edited by Nov 26, 2016, 9:17 PM

                    @fragator
                    When does it mot work?
                    Always the same picture?

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fragator
                      last edited by fragator Nov 26, 2016, 9:26 PM Nov 26, 2016, 9:19 PM

                      @Jeff
                      Yes, I just do it at the moment, always the same image size.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      • 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