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.

    Trouble with non-broken "broken" images

    Scheduled Pinned Locked Moved Development
    12 Posts 2 Posters 2.3k Views 2 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.
    • S Offline
      sdetweil @jedilkeme
      last edited by

      @jedilkeme what do I mean broken?

      did u look in the developers window console and elements tab?

      ctrl-alt-i

      tar in the filter field to see messages from,/about your module

      elements tab can see the html being used

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jedilkeme @sdetweil
        last edited by

        @sdetweil ctrl-alt-i has no effect???

        S J 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @jedilkeme
          last edited by

          @jedilkeme I’m sorry, brain fart, ctrl-shift-i

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @jedilkeme what should I be looking for from there?

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

              @jedilkeme in the console tab, you might see a 404 error, not found
              in the elements tab you can see the actual html used.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jedilkeme @sdetweil
                last edited by

                @sdetweil no 404 errors or anything else that pops out at me…

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

                  @jedilkeme and if you look at the html for the image, it is as you expected. and if you use that url.i a browser, the image is displayed?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jedilkeme @sdetweil
                    last edited by

                    @sdetweil ah, it wasn’t showing errors because I had it written to load at 5am… I set it to run in one minute, and I did receive a 404 for the images, permissions are all groovy but I noticed I can’t view the images from localhost:8080/path-to-images in the browser, but if I just put in the file path in the address bar I can see the images… then I ran npm start dev and I found an EADDRINUSE error. Stumped. Thanks your you assistance so far!

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

                      @jedilkeme said in Trouble with non-broken "broken" images:

                      I ran npm start dev and I found an EADDRINUSE error

                      pm2 already has an instance running… only one at a time please on the same port

                      pm2 status to see what pm2 manages
                      pm2 --help
                      to see all the things it CAN do
                      pm2 stop name or row number or all
                      pm2 stop all

                      then you can do the npm start …

                      when u are happy , then ctrl-q or ctrl-c to stop the npm start and pm2 start or restart row or name
                      then on reboot it will come back up…

                      pm2’s JOB is to keep its managed apps running…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @jedilkeme path to images

                        http://localhost:8080
                        

                        is the MagicMirror folder

                        so files in a module would be

                        http://localhost:8080/modules/modulename/xxx.jpg  (or whatever)
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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