AgP42 / MMM-SmartWebDisplay

The `MMM-SmartWebDisplay` module is for MagicMirror². It allow to display any web content to your MagicMirror.
60 stars 15 forks source link

Zoom web page window #12

Open leekis opened 4 years ago

leekis commented 4 years ago

I'm using your module to display a web page but need to scale the content so I can see more info. The transform scale setting in the CSS only seem to scale the entire window, not the content. Also, is the a way to automatically scroll down slowly on a website so I can see the entire content? Any chance you would know how to do this?

Thx.

AgP42 commented 4 years ago

Hello,

did you check this : issue 7 ?

Can you share your CSS ?

Tks, AgP

leekis commented 4 years ago

All default in CSS except the following. The entire content does scale 50% BUT I don't see the entire web page filing out the mainwrapper. What am I doing wrong here?

iframe{ border:0 ; transform: scale(0.5) ; }

sowery commented 3 years ago

I am having a nightmare setting up the module. I am trying to pull an image from a CCTV camera over HTTP. The image size is 1920x1080. If I use the 100% of the window for the iFrame, the image takes the first xxx% of the image from the corner, if I use the 1920px x 1080px the image is loaded in full, then if I use the css to scale the image, the location is not where selected (bottom_left). I have a portrait monitor, set in the boot config of the Pi3. I will try some other hardware related options but wanted to see if anyone has experienced this issue. The scaling is in the iframe section of the css file. thanks.

nibako commented 3 years ago

Hi @sowery , im having the same issue... Only a quarter is shown of my webcam.. But only on position "top_left", not on "upper_third" (middle)