We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When an image is uploaded through media gallery, composer or olw, the app-specific logic should apply
Blog app
lg
md
sm
#117 admin Media.cshtml #124 schema changes for 1.1 #135 data changes for 1.1
Eventually should be processed into srcset with sizes during pre-render phase of a post.
srcset
sizes
https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images https://css-tricks.com/video-screencasts/133-figuring-responsive-images/ https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/
<img data-attachment-id="320" data-orig-file="https://mysite.com/2018/05/painting.jpg?w=1100" data-orig-size="4032,3024" src="https://mysite.com/2018/05/painting.jpg?w=1100" alt="" srcset="https://mysite.com/2018/05/painting.jpg?w=1100 1100w, https://mysite.com/2018/05/painting.jpg?w=2200 2200w, https://mysite.com/2018/05/painting.jpg?w=150 150w, https://mysite.com/2018/05/painting.jpg?w=300 300w, https://mysite.com/2018/05/painting.jpg?w=768 768w, https://mysite.com/2018/05/painting.jpg?w=1024 1024w" sizes="(max-width: 1100px) 100vw, 1100px">
<img data-attachment-id="261" data-orig-file="https://mysite.com/2017/11/watch1.jpg?w=1100" data-orig-size="151,200" data-comments-opened="1" data-image-title="watch.jpg" data-image-description="" data-medium-file="https://mysite.com/2017/11/watch1.jpg?w=1100?w=151" data-large-file="https://mysite.com/2017/11/watch1.jpg?w=1100?w=151" class="alignnone size-full wp-image-261" src="https://mysite.com/2017/11/watch1.jpg?w=1100" alt="watch.jpg" srcset="https://mysite.com/2017/11/watch1.jpg 151w, https://mysite.com/2017/11/watch1.jpg?w=113 113w" sizes="(max-width: 151px) 100vw, 151px">
The text was updated successfully, but these errors were encountered:
feat: Revamp image upload, resize and storage #182
46e1fe3
feat: Update Admin Media and Compose pages with new media flow #117 #182
3de57e4
feat: Update ImageMagick resize logic on gif, png and jpg #182
1f205d3
feat: Update ImageMagick gif resize original saves file directly #182
55f1284
rayrfan
No branches or pull requests
Overview
When an image is uploaded through media gallery, composer or olw, the app-specific logic should apply
Blog app
lg
(either max 1200)md
(either max 800, used in post)sm
(width max 400, used in gallery, featured image for post)lg
when selecting it to featureRelated DB changes
#117 admin Media.cshtml
#124 schema changes for 1.1
#135 data changes for 1.1
Responsive Images
Eventually should be processed into
srcset
withsizes
during pre-render phase of a post.https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images
https://css-tricks.com/video-screencasts/133-figuring-responsive-images/
https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/
The text was updated successfully, but these errors were encountered: