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.

    Display logos?

    Scheduled Pinned Locked Moved General Discussion
    12 Posts 4 Posters 2.5k Views 4 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.
    • B Offline
      Bungle68 @Bungle68
      last edited by sdetweil

      @Bungle68 this is my current set up in the config.js

      {
            module: 'MMM-SimpleLog',
            position: 'top_left',      //This can be any of the regions. 
            config: {
       //The config property is optional. 
            file: ["~/home/mipi/MagicMirror/modules/MMM-SimpleLogo/Pi.png"]
           width: '300px'      }
      },
      
      

      However, it’s not showing any picture on the screen, or any errors? Has anyone used the SimpleLogo and can share the config?
      🙏

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

        @Bungle68 the file name is wrong

        ~ means /home/username (mipi?)
        then u have /home/mipi

        so I suspect /home/mipi/home/mipi does not exist…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil great, so I just need to drop the ~, as the rest is the path for the file 🤞

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

            @Bungle68 correct. system is case sensitive. so make sure I deal with that if need be

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil I’ve changed the path, but do I need the []either end?

              {
                     module: ‘MMM-SimpleLogo’,
                     position: ‘top_left’,  //This can be any region.
                     config: {
                              // The config property is optional.
                              file: [“~/MagicMirror/modules/MMM-SimpleLogo/Pi.png”],   // See config options.
                              width:     ‘300px’,
                    }
              },
              
                     
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Bungle68
                last edited by

                @Bungle68 i do not know… that is up to the module.

                is it a list of filenames, even if only 1?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil it’s just an image I want to display on the screen. It’s not a module either, just code on the config.js

                  thgmirrorT S 2 Replies Last reply Reply Quote 0
                  • thgmirrorT Offline
                    thgmirror @Bungle68
                    last edited by

                    @Bungle68 I have good experiences with MMM-EasyPix.
                    You have to store your logo(s) in the subfolder “pix” of the module.

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

                      @Bungle68 it’s the module MMM-Simpke-Logo.
                      what does it expect for the file: parameter?

                      it’s actually fileUrl:

                      Screenshot_20221202-062046_Chrome.jpg

                      note that the image file must be IN the MagicMirror folder tree

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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