It is not possible to mark or otherwise prevent image scaling when the user requests scaling.
window.onresize , , Firefox 3 ( ). , , , .
However, this is all a house of cards. The JavaScript-only solution does not determine the scale at the first page load, so to determine the amount of scaling, you will need the Flash component on the page. In addition, the actual zoom effect will distort the user. Resizing the image is slightly behind the user's zoom setting, which will lead to a page overflow, possibly moving content that they tried to increase in the first place. source
share