
- 正在使用
- 10+
- 评分
- 5.0 / 5
- 累计下载
- 5,253
- 最近更新
- 2014年2月28日
1 条评价需要 WordPress 3.0.1+已测试到 3.4.2
贡献者
On upload this plugin will generate the following effects on that image:
- Black and white
- Blurred
- Sharpened
- Sepia
- Pixelate
- Negative
All effects come in the following sizes:
- 1000px x 1000px not cropped
- 800px x 800px not cropped
- 400px x 400px not cropped
These images are displayed in the Add Media area under the Size dropdown menu for use in pages and posts.
Usage with Advanced Custom Fields:
<?php $image = wp_get_attachment_image_src(get_field('image'), 'image-effects-1000-bw'); ?>
<img src="<?php echo $image[0]; ?>"/>
This example is of 1000px wide black and white version.
All possible image objects:
- image-effects-1000-bw
- image-effects-800-bw
- image-effects-400-bw
- image-effects-1000-blurred
- image-effects-800-blurred
- image-effects-400-blurred
- image-effects-1000-sharpened
- image-effects-800-sharpened
- image-effects-400-sharpened
- image-effects-1000-sepia
- image-effects-800-sepia
- image-effects-400-sepia
- image-effects-1000-pixelate
- image-effects-800-pixelate
- image-effects-400-pixelate
- image-effects-1000-negative
- image-effects-800-negative
- image-effects-400-negative
For more examples of the above, visit http://dev.twoblok.es/wp-image-effects.