Skip to content

Latest commit

 

History

History
=== Image Placeholders ===

Contributors: wordpressdotorg
Tested up to: 7.1
Stable tag:   1.3.0
License:      GPLv2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Tags:         performance, images, dominant color

Displays placeholders based on an image's dominant color while the image is loading.

== Description ==

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 ==

= 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.

== Frequently Asked Questions ==

= 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](https://github.com/WordPress/performance/issues/new/choose). If you need help with troubleshooting or have a question about the plugin, please [create a new topic on our support forum](https://wordpress.org/support/plugin/dominant-color-images/#new-topic-0).

= 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](https://hackerone.com/wordpress) 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](https://make.wordpress.org/performance/handbook/get-involved/).

== Changelog ==

= 1.3.0 =

**Enhancements**

* Add `declare( strict_types = 1 )` to all PHP files. ([2424](#2424))
* Bump minimum required WordPress version to 6.9. ([2517](#2517))
* Bump minimum required PHP version from 7.2 to 7.4. ([2469](#2469))
* Improve code quality with native property types and stricter static analysis. ([1729](#1729))

= 1.2.1 =

**Bug Fixes**

* Only attempt to get dominant colour for image mime types. ([2264](#2264))

= 1.2.0 =

**Enhancements**

* Enhance admin media UI with dominant color support. ([1719](#1719))

= 1.1.2 =

**Enhancements**

* Use more robust HTML Tag Processor for Image Placeholders. ([1477](#1477))

**Bug Fixes**

* Re-remove unneeded phpcs:ignore. ([1231](#1231))
* Update PHPStan to 1.11.5. ([1318](#1318))

= 1.1.1 =

**Enhancements**

* Avoid needless array allocation in rgb to hex conversion. ([1104](#1104))
* Improve overall code quality with stricter static analysis checks. ([775](#775))
* Bump minimum PHP requirement to 7.2. ([1130](#1130))

**Bug Fixes**

* Fix Imagick detecting partial transparency. ([1215](#1215))

= 1.1.0 =

* Rename plugin to "Image Placeholders". ([1101](#1101))
* Use plugin slug for generator tag. ([1103](#1103))
* Bump minimum required WP version to 6.4. ([1062](#1062))
* Update tested WordPress version to 6.5. ([1027](#1027))

= 1.0.1 =

* Exclude ".wordpress-org" directory when deploying standalone plugins. ([866](#866))

= 1.0.0 =

* Initial release of the Image Placeholders plugin as a standalone plugin. ([704](#704))