开发者 | pkwooster |
---|---|
更新时间 | 2013年12月18日 22:22 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 3.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
simple-matted-thumbnails
folder to the /wp-content/plugins/
folderLogin as admin and go to the settings. Click the Matted Thumbnails
link. You can change the colour of the mat and which
thumbnail sizes are to be matted.
The background colour can be set using the settings menu. The colour picker is the standard WordPress colour picker. If using an old version of WordPress or with JavaScript disabled, you can set a hexadecimal RGB value similar to those used in CSS.
You can select the sizes by checking their name in the settings. Matting is only applied to those sizes selected. Selecting a thumbnail size will override the crop setting. Thumbnail sizes that include the default height or width of 9999 can not be matted.
This is space in the thumbnail box that is reserved for matting in addition to any needed to accommodate the image. The extra matting is placed on either both top and bottom or both left and right sides.
After changing thumbnail settings, any new images will get the new thumbnail sizes and format, but existing images will not. There are several plugins that allow the administrator to regenerate the thumbnails. Two popular plugins are "Regenerate Thumbnails" and "Force Regenerate Thumbnails". Note that using either of these will destroy existing thumbnails, so a backup is recommended.
This plugin will not apply to new sizes unless you select them in the admin settings.