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-ImagesPhotos - Show images from a directory

    Scheduled Pinned Locked Moved Utilities
    85 Posts 26 Posters 113.3k Views 26 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.
    • R Offline
      roramirez Core Contributors @c.keen
      last edited by

      @c.keen Can you take a screenshot of that?

      Easy module development with MagicMirror Module Template

      1 Reply Last reply Reply Quote 0
      • L Offline
        LeztherRokk
        last edited by

        Hello, I install your module and it works perfect for me, thanks, I wanna ask you, can I display videos from this module? I want to do one for videos but I just started in this. Thanks :)

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          roramirez Core Contributors @LeztherRokk
          last edited by

          @LeztherRokk It’s for only images. Do you want reproduce many videos like playlist?

          Easy module development with MagicMirror Module Template

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            LeztherRokk @roramirez
            last edited by

            @roramirez Yes, that’s what I want, have a playlist of videos and reproduce them en the mirror

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              roramirez Core Contributors @LeztherRokk
              last edited by

              @LeztherRokk Ok. This module is only for Images.

              I think is not difficult add video support. But this is a things I ain’t planning to do in the near future.

              Easy module development with MagicMirror Module Template

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                LeztherRokk @roramirez
                last edited by

                @roramirez Well, thanks, I think I will check if I can make one, thank you!

                1 Reply Last reply Reply Quote 1
                • N Offline
                  nobita @roramirez
                  last edited by

                  @roramirez How can I select What photo is 1st 2nd 3rd photo to display,Because your module is random display photo
                  Thanks for your hints

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    roramirez Core Contributors @nobita
                    last edited by

                    @nobita Yes, currently work only in random mode.

                    You can create a new function for get data in not random mode and you call here
                    https://github.com/roramirez/MMM-ImagesPhotos/blob/master/MMM-ImagesPhotos.js#L128

                    A good point is add by configuration this function. If you are interested to add this feature with glad I’ll merge it :)

                    Easy module development with MagicMirror Module Template

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

                      hey @roramirez. i really like your MMM-imagephoto module. this module show photo with random but i want it oreder, can you help me how to fix this ?

                      C 1 Reply Last reply Reply Quote 0
                      • V Offline
                        Vauxdvihl
                        last edited by

                        Great module
                        Thanks for this
                        One question
                        How can i adjust the size?

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          markus220
                          last edited by

                          There are no pictures on my mirror. It seems like the module doesn’t load.

                          1 Reply Last reply Reply Quote 0
                          • dasbooterD Offline
                            dasbooter @roramirez
                            last edited by

                            Thanks a bunch for this module. Seems to work great maybe some pics show up more often than others. Curious what formats it accepts?

                            1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer
                              last edited by

                              I’m going to think it accepts all formats…nothing is specified…

                              @markus220 did you check the developer console to see if there are errors? Did you use the right dir format?

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Peter
                                last edited by

                                Very nice module.
                                I have about 2000 pictures in the Upload directory, all resized to 100 kb.
                                But the module only shows about 50 of them.
                                Why does it not show the other pictures?
                                Any idea?
                                Peter

                                N 1 Reply Last reply Reply Quote 0
                                • N Offline
                                  ninjabreadman @Peter
                                  last edited by

                                  @Peter

                                  What does your config look like? Where are your images? What type(s) are they? I tried making a folder with 100 files (well over 50), but that seemed to work fine.

                                  Do you have the photos in multiple folders/paths? If so, have you tried removing the path of the photos that work to leave the other paths (to determine they work)? Have you tried adding treatAllPathsAsOne: true to your module config?

                                  What is the content of photos.txt if you type curl http://localhost:8080/MMM-ImagesPhotos/photos > photos.txt into a separate console (while MM is running)?

                                  Don’t post it all here, but if there are not several thousand entries, the module is not seeing all of your files (but you knew that).

                                  Problem with config or JavaScript? Copy/paste it into JSHint.
                                  Check out the detailed walkthroughs on install, config, modules, etc.

                                  P 1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    Peter @ninjabreadman
                                    last edited by

                                    @ninjabreadman solved.
                                    I did something stupid.
                                    I had 70 pictures (5mb each) and it caused trouble, so I resized them to 100kb.
                                    But I also have 2 sd cards …
                                    I put 2000 pictures (100kb) on one card and left the 70 (5mb) pictures on the other card.
                                    And then I changed cards …
                                    Peter

                                    N 1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      ninjabreadman @Peter
                                      last edited by

                                      @Peter At least it’s fixed! Cheers.

                                      Problem with config or JavaScript? Copy/paste it into JSHint.
                                      Check out the detailed walkthroughs on install, config, modules, etc.

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pepebc
                                        last edited by

                                        I like this module, but I would like it to start hidden by default in order to add the possibility of making it visible with voice command (use alexyak / voicecontrol). I have tried several options but I have no results.

                                        Mykle1M 1 Reply Last reply Reply Quote 0
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @pepebc
                                          last edited by

                                          @pepebc

                                          Take a look at the Hello-Lucy files. You can adapt what you find there to alex yak voice control. :-)

                                          Create a working config
                                          How to add modules

                                          1 Reply Last reply Reply Quote 0
                                          • twosquirrelsT Offline
                                            twosquirrels
                                            last edited by

                                            I realize this might not be the fault of the module, but many of my images display with the orientation incorrect on this module. I open them on my Mac, and the orientation is correct. I open them in the built-in image viewer on the raspberry pi, and the orientation is correct.

                                            I’ve tried using exiftool to remove the orientation settings entirely with no success. I also tried using exiftool to change the orientation with no success.

                                            My magic mirror is in portrait mode, so I wonder if that matters, but the built-in viewer has no problems.

                                            N 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
                                            • 3 / 5
                                            • 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