Image Placeholders
Image Placeholders

Image Placeholders

WordPress.org

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.

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

  • Re-remove unneeded phpcs:ignore. (1231)
  • Update PHPStan to 1.11.5. (1318)

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)

Installation from within WordPress

  1. Visit Plugins > Add New.
  2. Search for Image Placeholders.
  3. Install and activate the Image Placeholders plugin.

Manual installation

  1. Upload the entire dominant-color-images folder to the /wp-content/plugins/ directory.
  2. Visit Plugins.
  3. Activate the Image Placeholders plugin.

Reviews

0 out of 5 stars

  • Version: 1.1.2
  • Last updated: 2 weeks ago
  • Active installations: 40K
  • WordPress version: 6.5
  • Tested up to: 6.6.2
  • PHP version: 7.2