Charmed Quark Systems, Ltd. - Support Forums and Community
WebRiva, scaling? - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (http://www.charmedquark.com/vb_forum)
+-- Forum: General Discussion (http://www.charmedquark.com/vb_forum/forumdisplay.php?fid=3)
+--- Forum: CQC Support (http://www.charmedquark.com/vb_forum/forumdisplay.php?fid=9)
+--- Thread: WebRiva, scaling? (/showthread.php?tid=10485)

Pages: 1 2


WebRiva, scaling? - IVB - 01-11-2018

I thought WebRiva would scale images? I just pulled up the iPhone sized images on my Android (bigger screen size), it shows up at the natively sized image. 

In our house we have
iPhone 6S: 1334x750
iPhone 7: 1920 x 1080
Pixel 2 XL: 2560 x 1440

I created screens for the 6S, was that the wrong move?


RE: WebRiva, scaling? - Dean Roddey - 01-11-2018

It doesn't do any scaling itself. The phone does the scaling if any is done. If you don't suppress it they often do a 2:1 scaling, but that wouldn't be optimal for the middle one.

You can use the template scaling stuff to scale for the middle one. You should be able to get the phone to do 2x for the larger one, which is pretty much twice as large.


RE: WebRiva, scaling? - IVB - 01-13-2018

Anyone with an android phone able to have Chrome do any scaling? I can't figure it out. I even went into Accessibility, and checked the "override website request to prevent zoom in". Pinch to expand doesn't work, can't see what else to do.


RE: WebRiva, scaling? - Dean Roddey - 01-13-2018

WebRIVA won't try to prevent zoom unless you set the 'no scale' option on the URL. So that wouldn't be it. It may just assume that the user will do any scaling on the fly and you can't set a specific zoom on startup, I'm not sure. It's a bit of a black art to me, and probably not remotely standardized across browsers/platforms.

If you search for "chrome preset zoom" there are various pages that discuss this topic.


RE: WebRiva, scaling? - IVB - 01-13-2018

I can zoom on my laptop, but not the phone. Will keep googling.


RE: WebRiva, scaling? - IVB - 01-20-2018

Does anyone here have any success getting Android phones to scale up? I'll be damned if I can figure out how to do this, my Pixel 2 XL just won't show this at any size bigger than the native resolution.


RE: WebRiva, scaling? - IVB - 01-20-2018

btw here's the screwy thing, i can pinch to zoom on any webpage *except* WebRiva. I can zoom on the CQC Web Browser page, just not this one.


RE: WebRiva, scaling? - Dean Roddey - 01-21-2018

I'm assuming that the zoom thing has to do with the fact that the whole window is just an HTML canvas, so there's no actual background browser window to hit with gestures. Maybe there's something I can do to pass on gestures I don't use. I'll look at it.


RE: WebRiva, scaling? - George M - 01-24-2018

(01-13-2018, 02:22 PM)IVB Wrote: Anyone with an android phone able to have Chrome do any scaling? I can't figure it out. I even went into Accessibility, and checked the "override website request to prevent zoom in".  Pinch to expand  doesn't work, can't see what else to do.

Same here. Cant get it to scale or zoom by pinching.
I have a Galaxy 7s and a Galaxy Tab 2S.

I made up a simple template and constantly changed size and then test it on the units. On the tab if I make the template the same size as my screen resolution it is much too big for the screen. I then cut the resolution in half and the template showed covering about 1/4 of the screen. The real problem is that it will not adjust by changing the size of the template like it does on a computer. For instance I will drag the template a bit by dragging the edge, saving the template and re loading the template in the tab. It doesn't change. On the computer it does. I do it some more and it still doesn't change. It only changes when the  template is changed by a lot.

It seems like it only changes by some multiples which I cant figure out in order to get a full screen on the tab or the phone.

Also as far as the 2:1 scaling, I did the template as 1/2 of the resolution and thats when it came out to cover about a fourth of the screen.


RE: WebRiva, scaling? - Dean Roddey - 01-24-2018

The WebRIVA has the same sort of caching that the IV does. It makes it more efficent. Set &nocache=1 on the URL to disable caching while you are testing.