Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Dominant Color Images icon

Dominant Color Images

v1.2.0
by WordPress Performance Team · 3.5 (2 reviews)

Adds support to store the dominant color of newly uploaded images and create a placeholder background of that color.

50K+ active installs Updated Dec 18, 2024 Tested to 6.7.2 Requires PHP 7.2
Try Demo Download
Pre-installed Ready in ~10s No card
Dominant Color Images

About Dominant Color Images

This plugin automatically detects and saves the main color of newly uploaded images in your WordPress media library. It then creates a background placeholder with that color on your website, which is shown until the image is fully loaded.

Frequently asked questions

What does the Dominant Color Images plugin do?
This plugin determines and stores the dominant color for newly uploaded images in the media library within WordPress. It then uses this color to create a placeholder background in the frontend.
How does the plugin improve user experience?
The placeholder background is visible until the actual image is loaded. This can provide a smoother visual experience for users while images are loading.
Who developed the Dominant Color Images plugin?
The Dominant Color Images plugin was developed by the WordPress Performance Team.
What was the previous name of this plugin?
This plugin was formerly known as Dominant Color Images.

Changelog

1.2.0

Enhancements

  • Enhance admin media UI with dominant color support. (1719)

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)

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.