• 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.

Add a background image

Scheduled Pinned Locked Moved Solved Development
18 Posts 9 Posters 30.3k Views 13 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.
  • J Offline
    JoeSpencer
    last edited by Oct 13, 2016, 7:44 PM

    @Anachor Did you ever find out how to add a webcam as the background?

    1 Reply Last reply Reply Quote 0
    • S Offline
      schwarzbaer @ostfilinchen
      last edited by Dec 17, 2016, 5:44 PM

      @ostfilinchen Hi there,
      I also wanted to add background images to my MM and came across your post. Although it is not very recent, I think it might be a good idea to add the following information:

      if you want to have additional folders to be available within the Mirror, you need to specify those in the /js/server.js just after the other app.use commands, e.g. :

      app.use("/Images",express.static(path.resolve(__dirname + "/../Images")));

      1 Reply Last reply Reply Quote 1
      • J Offline
        jaymichael78
        last edited by Mar 12, 2017, 2:06 AM

        Is there a way to have multiple background-images to slideshow? I have lots of html/jquery/css workarounds but wanted to see if anyone had a good magic mirror hack?

        1 Reply Last reply Reply Quote 0
        • I Offline
          I_Am_Anthony @Wilco89
          last edited by Aug 4, 2017, 4:02 PM

          @Wilco89 I know this thread is old, but maybe you can help. Do you know how to change the background picture based on time of day? I have seen modules that update by a random interval, but looking for specific time.

          I’m making a MM for a friend. I’m going to have a background image on it, but I want it to change to the scary girl from The Ring late at night. Should be a nice surprise for him…

          Thanks.

          B 1 Reply Last reply Aug 10, 2017, 11:51 PM Reply Quote 1
          • B Offline
            bhepler Module Developer @I_Am_Anthony
            last edited by Aug 10, 2017, 11:51 PM

            @I_Am_Anthony Off the top of my head, use the scheduling module and the background image module in conjunction. There’s no reason you can’t put the background module in twice and swap 'em out at a particular time.

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by A Former User Sep 2, 2019, 1:57 PM Sep 2, 2019, 10:37 AM

              in custom.css add from main.css

              .region.fullscreen {
                position: absolute;
                top: -60px;
                left: -60px;
                right: -60px;
                bottom: -60px;
                pointer-events: none;
              }
              

              then add

              background: transparent url("background.jpg") no-repeat center;  */image must be in css folder*/
              background-size: cover;
              opacity: 0.5; */what ever opacity you want/*
              z-index: -1;
              

              so you have

              .region.fullscreen {
                position: absolute;
                top: -60px;
                left: -60px;
                right: -60px;
                bottom: -60px;
                pointer-events: none;
                background: transparent url("background.jpg") no-repeat center;
                background-size: cover;
                opacity: 0.5;
                z-index: -1;
              }
              
              B 1 Reply Last reply Sep 2, 2019, 11:49 AM Reply Quote 1
              • B Offline
                broberg Project Sponsor @Guest
                last edited by Sep 2, 2019, 11:49 AM

                @razvanh after 3 years, I think it has been solved already 😎

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by Sep 2, 2019, 2:02 PM

                  yes, right

                  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