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-EasyPix problem... missing a step?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 6 Posters 6.8k Views 5 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.
    • T Offline
      TexityTex
      last edited by

      So I’ve been working on getting MMM-EasyPix working for the past couple of days in my spare time.
      As best I can tell, the module itself is working, MagicMirror loads and displays everything the default modules, but for EasyPix, it just shows a “missing image” icon.

      Now, I don’t speak Java, but I don’t believe I need to for the configuration.
      I do see however that in both MMM-EasyPix.js and the config.js that it is asking for a specific picture. I have set that to the name of a picture in the pix folder in both locations, and each one individually during my, at this point, extensive testing and tinkering.

      My primary question is, is there a step I’m missing?
      I basically copied verbatim the example module wrapper from the EasyPix Readme, into the config.js file.
      Even when specifying a picture file I get an image icon, but no actual image.

      My secondary question is (assuming I can get it to pull any picture at all), do I need to specify the pictures individually in the config.js, and MMM-EasyPix.js or both? If so, what’s the format for adding multiple pictures?

      I should also mention that this problem existed even when I was running the module “fresh out of the box” as it was delivered after cloning. The module loads, it just shows a placeholder image icon, but no image.
      It clearly loads the module, but… nothing.

      I hate to ask for help, as I’ve enjoyed setting this up on my own, but I feel I don’t have much of a choice left now as I am stumped.

      Mykle1M 1 Reply Last reply Reply Quote 0
      • NeodereksN Offline
        Neodereks
        last edited by

        From README.md

        Remember

        All picture files go in the "pix" folder inside the MMM-EasyPix module folder.
        

        Did work for you?

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

          @texitytex

          Your config.js entry should look like this.

          {
              module: "MMM-EasyPix",
          	position: "top_center",
          	config: {
          		picName: "4.jpg", // Enter the picture file name.
          		maxWidth: "75%",        // Size picture precisely. Retains aspect ratio.
          		sounds: ["1.mp3", "me2.mp3"]  // mp3 sound file names for Hello-Lucy
          	}
          },
          

          The actual picture file goes in the pix folder within the MMM-EasyPix folder.

          You have to name the files exactly. In the example above you see picName: "4.jpg", . 4.JPG would not work.

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • T Offline
            TexityTex
            last edited by

            Thank you for your responses.
            Yes, I am aware that the pictures go in the pix folder, I thought I specified that in my original post. I guess I did not.
            All of the pictures, that I wish to have cycling in this module, are in the “pix” folder.
            I have even double checked since your posting @Mykle1 and yes, my module entry is correct. It is specified to a file “thanksylva.jpg” in the pix folder.
            Still nothing more than a “missing image” icon displays in the module.

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

              @texitytex said in MMM-EasyPix problem... missing a step?:

              All of the pictures, that I wish to have cycling in this module, are in the “pix” folder.

              Cycling is being worked on at the moment. That should be working soon. This module was really created for use with Hello Lucy where there is no need to cycle the pictures. However, I just downloaded the module (again) and used the config entry above and it works without issue.

              If you have not changed any of the module files then the only thing that would cause this issue for you is the config.js entry (or another module).

              EDIT: @sdetweil was kind enough to download and run MMM-EasyPix for me and he had no issue. It worked as expected for him.

              Please post your config.js entry for MMM-EasyPix

              Create a working config
              How to add modules

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Mykle1
                last edited by

                @mykle1 unless the files or folder have the wrong permissions…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil

                  unless the files or folder have the wrong permissions…

                  In which case, it wouldn’t be the module that is at fault. Just keeping it simple!

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil
                    last edited by

                    i copied the config info from the mm-easypix readme, and pasted into the config.js modules section, and restarted the mirror… no other changes

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 1
                    • T Offline
                      TexityTex
                      last edited by

                      Interesting. I changed nothing other than the name of the picture I wanted to test with. I’ll dig back into it, thank you for your responses.
                      My apologies for delayed response, I haven’t had much time for personal projects lately.

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        OneOfTheInfiniteMonkeys
                        last edited by

                        I had a similar issue. I added a comma to the end of the line “sounds:”

                                    {
                                            module: "MMM-EasyPix",
                                            position: "middle_center",
                                            config: {
                                                    picName: "DSC01423.JPG",             // Enter the picture file name.
                                                    maxWidth: "75%",                     // Size picture precisely. Retains aspect ratio.
                                                    sounds: ["1.mp3", "me2.mp3"],         // mp3 sound file names in quotes seperated by commas for Hello-Lucy
                                                    updateInterval: 30 * 60 * 1000,      // updates display
                                                    animationSpeed: 3000,
                                            }
                                    },
                        

                        Hope this helps

                        Would love to know how to have a slide show without having to create a list in the config.js file.

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