houke / color-palette-generator

This WordPress plugin allows you to generate & show color palettes for all your images in your Media Library.
https://www.thearthunters.com/color-palette-generator-wordpress/
24 stars 6 forks source link
color-palettes color-scheme inserting-images taxonomies wordpress wordpress-plugin

Color Palette Generator

Generate color palettes for your WordPress images, append them to your images inside your content and make searching images by color available to your visitors.

Description

This plugin is ideal for blog owners who like to do something more with their images, or for webshop owners who like to filter products by color. When inserting images you have the option to show the palette for that image. You can also use the following shortcode to show a specific image with palette: [colorpalette attachment="56" dominant="false" colors="10" size="large" random="true"]

Features

Developers

If you don't like the way the plugin outputs the palettes, or you want to create custom color queries yourself, use the wordpress taxonomy functions. There are 2 new taxonomies added when the plugin is activated: cpg_dominant_color and cpg_palette. The first one holds one color per image, the dominant color (this color is used to link the image to one of the main colors used in the color search functions). The second one holds the palette, and the number of colors is based on what the site owner has entered (default = 10).

If you want to create your own search template, add a templates folder in your theme and add a search.php file in there. If that file is found it will be used to show the searchresults. Else the template from the plugin will be used.

Special thanks

Installation

Automatic Installation:

  1. Go to Admin - Plugins - Add New and search for "color palette generator"
  2. Click the Install Button
  3. Click 'Activate'
  4. Go to Media > Color Palette Generator and start generating

Manual Installation:

  1. Download color-palette-generator.zip
  2. Unzip and upload the 'color-palette-generator' folder to your '/wp-content/plugins/' directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Go to Media > Color Palette Generator and start generating

Screenshots

Available here

  1. The Color palette generator settings page
  2. A new media library column will be available
  3. When inserting images into your content, new options will be available
  4. Add a widget to your sidebar
  5. The palette in use
  6. A list of generated palettes

Todo

Changelog

1.7.0

1.6.2

1.6.1

1.6

1.5.2

1.5.1

1.5

1.4

1.3

1.2

1.1

1.0

0.9

0.8

0.7