• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 1.9k 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 Dec 1, 2022, 10:27 PM Dec 1, 2022, 10:21 PM

    @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 Dec 1, 2022, 10:29 PM Reply Quote 1
    • S Away
      sdetweil @Bungle68
      last edited by Dec 1, 2022, 10:29 PM

      @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 Dec 1, 2022, 11:01 PM Reply Quote 0
      • B Offline
        Bungle68 @sdetweil
        last edited by Dec 1, 2022, 11:01 PM

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

        S 1 Reply Last reply Dec 1, 2022, 11:20 PM Reply Quote 0
        • S Away
          sdetweil @Bungle68
          last edited by Dec 1, 2022, 11:20 PM

          @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 Dec 2, 2022, 12:59 AM Reply Quote 0
          • B Offline
            Bungle68 @sdetweil
            last edited by Dec 2, 2022, 12:59 AM

            @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 Dec 2, 2022, 2:02 AM Reply Quote 0
            • S Away
              sdetweil @Bungle68
              last edited by Dec 2, 2022, 2:02 AM

              @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 Dec 2, 2022, 7:59 AM Reply Quote 0
              • B Offline
                Bungle68 @sdetweil
                last edited by Dec 2, 2022, 7:59 AM

                @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

                T S 2 Replies Last reply Dec 2, 2022, 10:49 AM Reply Quote 0
                • T Offline
                  thgmirror @Bungle68
                  last edited by Dec 2, 2022, 10:49 AM

                  @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 Away
                    sdetweil @Bungle68
                    last edited by sdetweil Dec 2, 2022, 12:23 PM Dec 2, 2022, 12:22 PM

                    @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
                    1 / 2
                    • First post
                      8/12
                      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