外掛說明
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.
安裝方式
- Upload the directory
image-effect-generator
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Settings > Image Effects Settings and select which effects you would like ~ Image Reference
- Usage under Description tab or visit http://dev.twoblok.es/wp-image-effects
常見問題集
- Where can I see a nice page to make me feel better?
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.1
- Let’s go!