Rating: 5 stars
This plugin is perfect in its simplicity. Developers thought of everything, and it makes pages with images look beautiful. PLUS, if you don’t like the color they pick to be dominant, you can choose another color from the image. So well thought out.
I just wish WordPress wouldn’t bug me saying it hasn’t been tested with the last 3 releases. It works perfectly, and probably will regardless of updates.
Here’s how I use it in a theme in case anyone reading this is struggling.
if (has_post_thumbnail()) {
$featured_image_id=get_post_thumbnail_id( );
}
$imageColor = get_color_data($featured_image_id, ‘dominant_color_hex’, ‘true’);
$colorPaletteArray = get_post_meta ($featured_image_id, ‘color_palette_hex’, ‘true’);
$complimentaryColor1 = $colorPaletteArray[0];
$complimentaryColor2 = $colorPaletteArray[1];
$complimentaryColor3 = $colorPaletteArray[2];
$complimentaryColor4 = $colorPaletteArray[3];
And then I just assign $imageColor, and it’s 4 complimentary colors, to the relevant divs in the template. Genius plugin, and thank you for creating it.
]]>Rating: 5 stars
Useful plugin, please add function to bulk edit all images on gallery ??
]]>Rating: 5 stars
I like this and how it does what it says. I like also that it doesn’t enqueue any scripts or CSS into the page. Great for custom theme development. Also seems to work well in WordPress 5.0 (newest at the time of this review).
]]>Rating: 5 stars
Pulls out both the dominant color and a nice color palette. Far more efficient to do this calculation once on upload rather than via PHP or JavaScript when rendering the page. Perfect!
]]>Rating: 4 stars
I had to search the post_meta table to find out how the ‘dominant_override’ meta_key – it would have been useful to find that in the release notes.
A bulk calculate feature would be excellent – along with a way of colour picking the override from the posts screen in the WP Dashboard.
Otherwise, perfect for what I need ??
]]>