The responsive image team has been meeting regularly for a while. After our meeting earlier this week, we realized that make/core needs an update on what’s been going on with the RICG (Responsive Images Community Group) feature plugin, as well as to request feedback on a few questions.
Our meetings are in #feature-respimg each [time relative]Friday at 1900 UTC[/time], so please come and chat to give feedback or if you're interested in helping out!
Background
Several years ago, a ragtag group of web professionals identified a need for new HTML markup which would allow developers to declare multiple sources for an image—allowing devices to select the image source that was most appropriate for its own capabilities. Fast forward to today and all major browsers have either implemented these new tools or currently have them under consideration for development.
With that as background, the RICG has been working on an Official WordPress Feature Plugin™ to test the viability of adding responsive image support natively into WordPress. Specifically, our aim is to automatically add
srcset (using w descriptors) and sizes attributes to the image markup generated by WordPress. According to theWordPress.org plugin directory, there are over 10k active installs, so we've definitely seen an interest in this functionality.
There are two main pieces of functionality included in the plugin, which can be considered separately for inclusion in core:
Responsive Image Markup
There is a lot to consider when proposing a change to the way WordPress outputs image markup, so I want to be clear about some of our assumptions going in:
Questions to Consider
Advanced Image Compression
The second potential enhancement introduced through our plugin is an improvement to the default ImageMagick compression settings currently being used in core. RICG contributor Dave Newton has done great research on the best compression settings for ImageMagick, and included them as an opt-in option within the plugin.
The updated settings are absolutely killer when there are sufficient CPU and memory resources on the host server. In our trials, file sizes have decreased by >50% compared to the default core settings.
However, on limited servers, these new settings could cause problems. We are iterating on them to find the right balance between the file-size savings and the CPU resources required to process large files.
Final Notes
We need your help!
New features need lots of feedback and testing. Help us test these enhancements by installing the latest version of the plugin from WordPress.org.
Be sure to enable advanced image compression and tell us how it does with your setup so we can gather more feedback.
If you know of plugins that heavily modify or interact with custom image sizes or art-directed crops, please leave a comment below so we can test it with this feature.
Have thoughts on the questions above? Let us know in the comments!
Want to get involved? We meet each week in #feature-respimg on [time relative]Friday at 1900 UTC[/time].
|
Tuesday, August 25, 2015
Update: Responsive Image Support for Core|#shyamis
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment