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.1k 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 @balthaz
      last edited by

      @balthaz Yes is the cache of Electron app, because the name is same for image url.

      I create a little hack for this but I think this can be overhead the cache of app. Can you try and tell me?

      https://github.com/roramirez/MMM-ImagesPhotos/tree/test-force-cache (branch)
      https://github.com/roramirez/MMM-ImagesPhotos/commit/b8ead890b701ed6264a417c9c4f4a92b135f8816 (patch)

      Other way is create a new name and delete previous file in your script

      wget -O $(date +%s).jpg http://192.168.0.160/tmpfs/auto.jpg
      

      Easy module development with MagicMirror Module Template

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

        Very nice!!!

        1 Reply Last reply Reply Quote 0
        • schlachtkreuzer6S Offline
          schlachtkreuzer6
          last edited by

          super cool! :)

          1 Reply Last reply Reply Quote 0
          • B Offline
            balthaz
            last edited by

            hello,

            I test force cache, it’s no working, my test:
            apply new git
            wget jpg display jpg
            rm jpg
            wget jpg display same jpg

            i test with rotate wget

            thanks

            1 Reply Last reply Reply Quote 0
            • B Offline
              balthaz @roramirez
              last edited by

              @roramirez said in MMM-ImagesPhotos - Show images from a directory:

              wget -O $(date +%s).jpg http://192.168.0.160/tmpfs/auto.jpg

              with wget -O $(date +%s).jpg http://192.168.0.160/tmpfs/auto.jpg i have a random picture

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

                @balthaz For your need I think is better using
                https://github.com/TheBogueRat/MMM-iFrameReload

                Easy module development with MagicMirror Module Template

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  balthaz @roramirez
                  last edited by

                  @roramirez Thanks, exactly what a need !

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

                    From reading the readme, i couldn´t figure out where to place the directory MMM-ImagesPhotos searches for the pictures.

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

                      @Mire Hello,

                      I added a little more explain.

                      The directory where is searching the images is
                      MagicMirror/modules/MMM-ImagesPhotos/uploads

                      The directory called uploads inside the module

                      Easy module development with MagicMirror Module Template

                      1 Reply Last reply Reply Quote 1
                      • caracasnetC Offline
                        caracasnet
                        last edited by

                        Hi, Great job with this Module (really easy to understand),
                        It is a way to display an imagen according some parameter ? like the day of the week ? I will like to use as Alternative Calendar for my 5 Years old son, images like Music Note to don’t forget his Music instruments on Thursdays or Swimming course Tuesdays and Thursdays and so on… Your Modul is perfect for that, unfortunately i don’t know how to program as filters. Can you help me with this idea ?
                        Thanks in advance

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

                          Sound good. I don’t know resolv out your need.

                          Some I think could be help is mixed this with https://github.com/ianperrin/MMM-ModuleScheduler

                          Easy module development with MagicMirror Module Template

                          caracasnetC 1 Reply Last reply Reply Quote 0
                          • caracasnetC Offline
                            caracasnet @roramirez
                            last edited by

                            @roramirez Excellent, That’s exactly what i need… Thanks

                            1 Reply Last reply Reply Quote 0
                            • johnnyboyJ Offline
                              johnnyboy
                              last edited by johnnyboy

                              This post is deleted!
                              R johnnyboyJ 2 Replies Last reply Reply Quote 0
                              • R Offline
                                roramirez Core Contributors @johnnyboy
                                last edited by

                                @johnnyboy This feature is not available at now.

                                For your requirement is need it set the path where find the images. Please add a issue in Github to remember and when take free time I could add this. If you want take part of this can developev by yourself and send a Pull Request.

                                Easy module development with MagicMirror Module Template

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jfodor
                                  last edited by

                                  i submitted this issue on Github.

                                  in the readme the with and height should be:

                                  maxWidth not width
                                  maxHeight not height

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

                                    @jfodor Great! Do you want take this task?

                                    Easy module development with MagicMirror Module Template

                                    J Mykle1M 2 Replies Last reply Reply Quote 0
                                    • jproehlJ Offline
                                      jproehl @roramirez
                                      last edited by jproehl

                                      @roramirez Nice work! Would it be difficult to create a module that loads a photo from a web site instead of from a folder? There are a bunch of photographers that have web pages with incredible photos that would be nice to cycle through.

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

                                        @jproehl Sound good! The directory have indexes?

                                        Easy module development with MagicMirror Module Template

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jfodor @roramirez
                                          last edited by

                                          @roramirez oh no i’m not that good at coding or git hub. i’m trying to get better but prefer to help out where i can.

                                          thanks for the offer.

                                          1 Reply Last reply Reply Quote 0
                                          • F Offline
                                            Fonfon
                                            last edited by

                                            hi

                                            possible to get a directory a nas?

                                            R 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
                                            • 5 / 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