Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    WWW-iframe-ping fit web content into MM2 region

    Troubleshooting
    3
    4
    64
    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
      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
        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

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

          T 1 Reply Last reply Reply Quote 0
          • T
            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy