Bottom line, if we have a 500x200 pixel image, scaled to 100 dpi to print 5x2 inches on paper, on the screen it will still simply show as 500x200 pixels. Systems show pixels directly, one for one. Images are dimensioned in pixels, and screens are dimensioned in pixels, and video
Our monitor screens show pixels directly. And in that case, your screen statistics above will show that viewport size (L+R page margins will total 3% then.
It will be shown smaller than 500 pixels when reduced in that case.
If you have zoomed your browser to show text larger (including the internal Windows Text Size zoom), the image will be zoomed larger too, correspondingly, to maintain the page layout.For Desktop browsers (which vary), zooming larger (including Windows Text Size zoom) reduces virtual screen size, which when enlarged to device screen size is the zoom enlargement. Screens are different sizes, in inches and in pixels (resolution), and any browser zooming does affect the whole page.īrowsers and devices do work differently, but Reported Screen size is affected by current operating system and browser zoom settings. So on video monitors, we don't all see the same size of things. Browsers do zoom the whole page, including the images, when we zoom the page away from 100% zoom size, but (except for Firefox) NOT when we only set a larger text size in Windows, which only applies to text. However, web page "meta viewport" size can tell the mobile browser other starting instructions.īut manually zooming any browser affects the whole page. iPhone 4 and 5 and iPad 4 and Air report a Pixel Ratio (enlargement factor) of 2, initially enlarging the whole page screen to show page and text larger. On this page (a directive sets viewport to device settings), then iPhone always reports screen size to be viewport size, which is fixed, independent of actual window size.
Chrome is different than the others, it always reports screen size to be hardware size, instead of cropped zoomed size of full screen.
Plus browser zoom is added to it.Ĭhrome and MS IE (desktop) initially report a Pixel Ratio enlargement factor of 1, regardless of Windows text size (but it also adds browser zoom size). So in the browser, the initial showing enlarges the whole page, both text and images (Windows only enlarges the text). Speaking of a Reset 100% Zoom view, then.įirefox (desktop) specifies a Pixel Ratio equal to the Windows text size enlargement (120% Windows text size is 1.2 Pixel Ratio in Firefox).
The web page can specify a viewport size to specify other starting zoom instructions for the small phones.So a new logical CSS Pixel Ratio factor was added, basically a multiplier generally from 1 to 3, a difference in logical pixels and actual device pixels - which causes the phones to begin zoomed in some, to enlarge the text. Fitting the full web page width to the small screen makes the text too small to be readable. So today, a 500x200 pixel image is not always shown at 500x200 size, depending on your zoomed text size. Today's browsers also zoom the images when we zoom the text size, to keep the page layout consistent, relative to text size.Times have changed after much of this was written. Necessary updates: (techie stuff, about images we see on video monitors now)