darickc / MMM-BackgroundSlideshow

MIT License
146 stars 84 forks source link

Only shows one picture #1

Closed smartsoldier closed 6 years ago

smartsoldier commented 6 years ago

I have everything setup but it just stays on one picture.

darickc commented 6 years ago

What does your config look like?

smartsoldier commented 6 years ago

{

module: "MMM-BackgroundSlideshow",
position: "fullscreen_below",
config: {
  imagePaths: ["modules/MMM-BackgroundSlideshow/pics"],
  transitionImages: true,
  randomizeImageOrder: true,
  backgroundSize: 'contain'
}

},

reflect23 commented 6 years ago

I'm having the same issue. Here's my config...

 {
                         module: "MMM-BackgroundSlideshow",
                         position: "fullscreen_below",
                         config: {
                                 imagePaths: ["modules/MMM-BackgroundSlideshow/pics"]
                                 transitionImages: true,
                                 transitionSpeed: "2s",
                                 randomizeImageOrder: true,
                                 slideshowSpeed: 15000,
                                 backgroundSize: "contain"
                         }
 },
reflect23 commented 6 years ago

my tabbing is correct in the code... just having an issue with formatting in my comments here.

darickc commented 6 years ago

Try opening up MagicMirror in a browser. If it is on a different computer and you are not able to connect, edit the config.js file and remove any address values and ipWhitelist values. This is what mine looks like on my raspberry pi so I can access it from my laptop:

address: "", port: 8080, ipWhitelist: []

Then once you have it opened in a browser open up the developer tools. For most browsers on Windows hitting F12 will do this. For Chrome on Mac it is command-option-i.

Then you can look on the console tab and see any errors. I would recommend commenting out any other modules except for the clock. That will cut down on the amount of information shown. Any errors should show up in red.

reflect23 commented 6 years ago

commented out everything else but the clock and it's working great! Thanks so much!

Chris Sapp

On Sun, Aug 19, 2018 at 9:35 PM, Darick Carpenter notifications@github.com wrote:

Try opening up MagicMirror in a browser. If it is on a different computer and you are not able to connect, edit the config.js file and remove any address values and ipWhitelist values. This is what mine looks like on my raspberry pi so I can access it from my laptop:

address: "", port: 8080, ipWhitelist: []

Then once you have it opened in a browser open up the developer tools. For most browsers on Windows hitting F12 will do this. For Chrome on Mac it is command-option-i.

Then you can look on the console tab and see any errors. I would recommend commenting out any other modules except for the clock. That will cut down on the amount of information shown. Any errors should show up in red.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/darickc/MMM-BackgroundSlideshow/issues/1#issuecomment-414174308, or mute the thread https://github.com/notifications/unsubscribe-auth/AojYYLls77rzD47B78OVBYDPmgo_t3Laks5uShJygaJpZM4VwMqR .

darickc commented 6 years ago

You might try uncommenting the other modules and open it up in a browser with developer tools to see which module is causing an error. Or uncomment them one at a time and see which one is causing the error.

drewklein20 commented 5 years ago

I had this issue too. Out of 8 photos, only two were working. It ended up being because of the photos I was using. The pictures were taken on an iPhone and they were either live photos or taken in portrait mode. I used the photos app on my mac to convert them to PNG files and that fixed every photo.