Enhanced Responsive Images

Mô tả

This plugin implements experimental enhancements for the responsive images functionality in WordPress. Currently, this includes:

  1. Improvements to the accuracy of the sizes attribute by using available layout information in the theme.
  2. Implementation of the new HTML spec for adding sizes="auto" to lazy-loaded images. See the HTML spec issue Add “auto sizes” for lazy-loaded images.

This plugin integrates with the Image Prioritizer plugin. When that plugin is active, it starts learning about which images are not in the initial viewport based on actual visitors to your site. When it knows which images are below the fold, it then adds loading=lazy to these images. This plugin then extends Image Prioritizer to also add sizes=auto to these lazy-loaded images.

There are currently no settings and no user interface for this plugin since it is designed to work without any configuration.

Cài đặt

Installation from within WordPress

  1. Visit Plugins > Add New.
  2. Search for Enhanced Responsive Images.
  3. Install and activate the Enhanced Responsive Images plugin.

Manual installation

  1. Upload the entire plugin folder to the /wp-content/plugins/ directory.
  2. Visit Plugins.
  3. Activate the Enhanced Responsive Images plugin.

Hỏi đáp

Where can I submit my plugin feedback?

Feedback is encouraged and much appreciated, especially since this plugin may contain future WordPress core features. If you have suggestions or requests for new features, you can submit them as an issue in the WordPress Performance Team’s GitHub repository. If you need help with troubleshooting or have a question about the plugin, please create a new topic on our support forum.

Where can I report security bugs?

The Performance team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.

To report a security issue, please visit the WordPress HackerOne program.

How can I contribute to the plugin?

Contributions are always welcome! Learn more about how to get involved in the Core Performance Team Handbook.

Đánh giá

There are no reviews for this plugin.

Người đóng góp & Lập trình viên

“Enhanced Responsive Images” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Enhanced Responsive Images” đã được dịch qua 3 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Enhanced Responsive Images” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.1.0

Features

  • Initial implementation of improved image sizes algorithm. (1250)

Enhancements

  • Improved image sizes for left/right/center alignment. (1290)
  • Integrate Auto Sizes with Image Prioritizer to ensure correct sizes=auto. (1322)
  • Update Auto-sizes for Lazy-loaded Images plugin name to Enhanced Responsive Images. (1335)
  • Use correct sizes for small images. (1252)

Documentation

  • Update the plugin description for Enhanced Responsive Images. (1339)
  • Update the plugin header description. (1344)

1.0.2

  • Improve overall code quality with stricter static analysis checks. (775)
  • Bump minimum PHP requirement to 7.2. (1130)

1.0.1

  • Add auto-sizes generator tag. (1105)
  • Bump minimum required WP version to 6.4. (1062)
  • Update tested WordPress version to 6.5. (1027)

1.0.0

  • Initial release of the Auto-sizes for Lazy-loaded Images plugin as a standalone plugin. (904)