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.

    WWW-iframe-ping fit web content into MM2 region

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 3 Posters 592 Views 3 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.
    • D Offline
      dwburger
      last edited by

      I’m able to display web content using WWW-iframe-ping, but the content is too large so I’m only getting a sub-section of the webpage. How do I go about reducing the size of the web content to fit inside the frame I’ve created in the top_right region of my MM2? Thanks!

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

        @dwburger somehow u need to pass the size of the region to the web server sending the page IF it will adjust the size

        test on your pc with less than full screen browser

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil Yes…when I open the URL I’m trying to display, it resizes nicely so all the information (in this case, data from a local weather station) is displayed to fit whatever screen size I choose. In other words, it’s responsive. I wonder if there are parameters I can add to the URL that will affect it’s display size??? I suppose I’ll need to experiment with that a bit.

          thgmirrorT 1 Reply Last reply Reply Quote 0
          • thgmirrorT Offline
            thgmirror @dwburger
            last edited by

            @dwburger Did you try a local html in the modules folder? There you can use iframe with a zoom-factor to get the content of the original-url. Afterwards show this using MM-SmartWebDisplay . The local webside must be stored in the modules-folder.

            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