3 ms·
Then the page won't be responsive. The image width and height changes depending on your viewport size.
by ganeshkrishnan 8y ago
Then the page won't be responsive. The image width and height changes depending on your viewport size.
- derefr 8y agoThe client can reserve the space with a CSS media query, then. But it should be the client making that rendering decision, not the loaded asset—i.e. if you have an async-loaded iframe, the iframe shouldn't be able to resize itself on load, but rather should be sized correctly when first created (either by JS or CSS) and then the contents of the iframe should accomodate the dimensions they're loaded into. (Which can be assisted by just sending those dimensions as part of the iframe's URL—though this is bad for privacy reasons.)
- JohnFen 8y ago> Then the page won't be responsive That's a benefit, in my view.