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.

    Background Image not updating

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 1.2k 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.
    • R Offline
      roadfox
      last edited by roadfox

      HI i try to set an radar image dsiplayed as background image on my mirror.
      At the moment i try with: MMM-BackgroundSlideshow which i found does displaying and scaling the image very well.
      In the Background i have a cronjob which downloads and converts the radar image from another source.

      My problem is that the browser newer updates the image due to caching.
      Even if i see in firefox debugger that the image got downloaded with 200 the broser does not update the image, als just reloading the page is not enough i have to “shift” reload the page to update the image.

      Is there a way i can invalidate the cache?

      Tried also adding a timestamp to the image and deleting the old one. But MMM-BackgroundSlideshow does no reread the folder content while running. And is i get a new image every 10 minutes i don’t want to restart the whole application.

      thanks
      Andi

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

        i would change modules… MMM-ImagesPhotos reloads the folder on a configurable cycle.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          roadfox
          last edited by roadfox

          @sdetweil said in Background Image not updating:

          That would kill the background fun of it
          screenshot

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

            @roadfox huh? it puts the images in the background too.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              roadfox
              last edited by

              i gave it a try. MMM-ImagesPhotos is adding the image as an overlay with opacy, but i cannot figure out how to set the opacy so that the other values shine 100% trough.

              0_1576398895145_Bild 2.png

              1 Reply Last reply Reply Quote 0
              • R Offline
                roadfox
                last edited by roadfox

                oh i feel so stupid, i startet with fiddling in css and z-index and did not see that i can just set:
                module: “MMM-ImagesPhotos”,
                position: “fullscreen_below”,

                i’m very happy now, after adding a timestamp to the downloaded filename the image is updating now nicely

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