[wp-meta] [Making WordPress.org] #5309: All photo media reduced to 300px wide
Making WordPress.org
noreply at wordpress.org
Wed Jul 8 01:04:44 UTC 2020
#5309: All photo media reduced to 300px wide
----------------------+--------------------
Reporter: jkorchok | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Keywords:
----------------------+--------------------
I've tested with several WordPress themes plus my own to make certain this
is a core problem.
My site (brandwares.com) uses fluid design to fit a multi-column design to
the browser width. I've ported this to my WordPress theme.
When I add media (almost always a screenshot), I set the picture width to
100% so the picture fills the width of my fluid layout columns. WordPress
over-rides this with:
**sizes="(max-width: 300px) 100vw, 300px"**
The result is a 300 pixel wide downsampled image that either doesn't fill
the column width in my theme or fills the width with a blurry image in
Twenty Sixteen, Twenty Seventeen, Twenty Nineteen and Twenty Twenty.
Here is a sample page that shows a screen shot mangled by WordPress:
[http://www.brandwares.com/bestpractices/2020/07/ooxml-hacking-protected-
area-exceptions-word/]
Neither result is acceptable. I am not going to spec a picture width in
pixels, because that is bad practice in a fluid design. When I spec 100%
width, I expect the picture to be 100% width at full resolution. Please
fix this glaring defect and stop making your own private version of HTML
on my site.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5309>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list