arn
Well-known member
Code:
[IMG width="1000px" height="666px"]https://images.macrumors.com/article-new/2019/10/Apple_AirPods-Pro_Lifestyle_102819.jpg[/IMG]
When width and height are specified, XF generates this code:
Code:
<img src="/community/proxy.php?image=https%3A%2F%2Fimages.macrumors.com%2Farticle-new%2F2019%2F10%2FApple_AirPods-Pro_Lifestyle_102819.jpg&hash=2cba0b2d94a5a1d0287ae94da42968df" data-url="https://images.macrumors.com/article-new/2019/10/Apple_AirPods-Pro_Lifestyle_102819.jpg" class="bbImage" data-zoom-target="1" style="width: 1000px; height: 666px" alt="" width="" height="" loading="lazy">
It specifies width and height in a style tag, rather than the normal image width and height.
This prevents the image from being responsive. The <img> tag width and height should be used.
Try shrinking this browser window and see how the image scales.
Last edited: