Open
Description
There is a difference in calling:
picturefill_wp_apply_to_html( get_the_post_thumbnail( null, 'medium' ) );
picturefill_wp_apply_to_html( get_the_post_thumbnail( null, 'large' ) );
When calling medium
. Picturefill.js will never select the larger src, even when the -box growns beyond it. A difference can be seen in the measuring
in the . But in a sense (i guess) also has to do with the 'hardcoded' width= and height= in the
tag.
Context:
I have a page that renders the images at 100% width of it's container via CSS. The container is 100% of the viewport . At 1080px a media-query kicks in setting the container at 1080px.
Sizes of image sources are: medium max 720px, large max 1080px
Metadata
Metadata
Assignees
Labels
No labels