WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #45407


Ignore:
Timestamp:
11/24/2018 07:52:48 AM (10 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45407 – Description

    initial v2  
    1010== Problem
    1111For images with no alignment or images where the image block is aligned `alignwide` and `alignfull`, the `sizes` attribute reads:
    12 ```php
     12
     13{{{
    1314sizes="(max-width: 1024px) 100vw, 1024px"
    14 ```
     15}}}
     16
    1517This means regardless of the displayed width of an image, the largest image file pulled by the browser is the generated 1024px image. If the displayed image width is wider than 1024px, the browser will stretch the image to compensate causing blur and artifacts.
    1618