-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
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
Accurate Sizes: Incorporate layout constraints in image sizes calculations #1738
Accurate Sizes: Incorporate layout constraints in image sizes calculations #1738
Conversation
Merge latest changes to feature branch
…ors' into update/use-filter-approach
Co-authored-by: Weston Ruter <[email protected]>
Co-authored-by: Weston Ruter <[email protected]>
Co-authored-by: Weston Ruter <[email protected]>
Merge latest changes to feature branch
…ors' into update/use-filter-approach
Accurate sizes: Calculate image sizes during block rendering
Auto sizes: Reorganize file structure by feature
This removes the need to pass whether there is a parent block by comparing the constraints of the parent block prior to calling `auto_sizes_calculate_width()`.
Co-authored-by: Weston Ruter <[email protected]>
Co-authored-by: Weston Ruter <[email protected]>
Accurate sizes: Pass parent alignment context to images Co-authored-by: joemcgill <[email protected]> Co-authored-by: mukeshpanchal27 <[email protected]> Co-authored-by: felixarntz <[email protected]> Co-authored-by: westonruter <[email protected]>
Co-authored-by: Weston Ruter <[email protected]>
…alignment-widths Accurate sizes: Support relative alignment widths
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Summary
This PR is merges the initial support for incorporating layout constraints in the calculation of img
sizes
attributes into the Enhanced Responsive Images plugin.See #1511
Relevant technical choices
PRs included: