In December 2011, we added header images to the top of plugin screens. In 2012 we made even more changes to the plugin directory and started supporting HiDPI images for those plugin headers as well. Then we let you put screenshots in the assets folder too.
Continuing that grand tradition of making your plugins prettier, we’re tossing a new one into the mix. Plugin Icons.
Plugin icons are 128 pixels square. HiDPI (retina) icons are supported at 256 pixels square. Like banners, these go into your
/assetsdirectory and can be either a PNG or JPG. So just create
assets/icon-256x256.(png|jpg)and you have an icon.
You also have another option: SVG. Vectors are perfect for icons like this, as they can be scaled to any size and the file itself is small. For an SVG file, you simply need an
We may implement SVG-to-images fallbacks in core for browsers that don’t support them, so if you go the SVG route, I’d suggest also turning your SVG into a PNG. (SVG takes precedence.)
Huzzah! Make ‘em rock, folks! But don’t worry, there are fallbacks
Read the announcement post. Enjoy.