描述
This plugin determines and stores the dominant color for newly uploaded images in the media library within WordPress and then uses it to create a placeholder background of that color in the frontend, visible until the image is loaded.
This plugin was formerly known as Dominant Color Images.
安装
Installation from within WordPress
- Visit Plugins > Add New.
- Search for Image Placeholders.
- Install and activate the Image Placeholders plugin.
Manual installation
- Upload the entire
dominant-color-images
folder to the/wp-content/plugins/
directory. - Visit Plugins.
- Activate the Image Placeholders plugin.
常见问题
-
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.
评价
贡献者及开发者
更新日志
1.1.2
Enhancements
- Use more robust HTML Tag Processor for Image Placeholders. (1477)
Bug Fixes
1.1.1
Enhancements
- Avoid needless array allocation in rgb to hex conversion. (1104)
- Improve overall code quality with stricter static analysis checks. (775)
- Bump minimum PHP requirement to 7.2. (1130)
Bug Fixes
- Fix Imagick detecting partial transparency. (1215)
1.1.0
- Rename plugin to “Image Placeholders”. (1101)
- Use plugin slug for generator tag. (1103)
- Bump minimum required WP version to 6.4. (1062)
- Update tested WordPress version to 6.5. (1027)
1.0.1
- Exclude “.wordpress-org” directory when deploying standalone plugins. (866)
1.0.0
- Initial release of the Image Placeholders plugin as a standalone plugin. (704)