Image Filter GD is a set of image effects filters that can be applied to a linked image using a MyCode tag. The applied effects retain transparency for most transparent GIF and PNG images.
Filters:
Restrictions:
Requirements:
Installation:
1. Unpack the Image Filter GD zip file and upload imagefilter_gd.php and the imagefilterGD folder to the inc/plugins directory.
2. Go to your Admin Plugins Manager and activate Image Filter with GD.
3. Go to your Admin MyCode Manager and create a new MyCode tag. Give it a title and description.
4. Enter the following as the Regular Expression:
5. Enter the following as the Replacement:
6. Enable the MyCode tag. This plugin is has no settings and is enabled/disabled via the MyCode manager.
Example MyCode tag:
Download:
http://mods.mybb.com/view/image-filter-gd
Sample images:
Filters:
- brighten: Lightens a darker image.
- brush: Adds a slight dabbed, brushed effect to an image.
- darken: Darkens an overly bright image.
- edgedetect: Highlights borders between colors on an image. Similar to emboss.
- emboss: Adds a stamped metal effect to an image.
- flip: Flips an image vertically.
- grayscale: Converts color image to black & white.
- mirror: Produces a mirrored reflection of an image.
- negative: Produces a photo negative of an image.
- pixelate: Pixilates an image.
- sephia: Adds an aged photo effect to an image.
- sharpen: Sharpens a blurred image.
- sketch: Adds a sketched, comic book effect to an image.
- smooth: Slightly blurs an overly sharpened image.
Restrictions:
- Only supports GIF, PNG and JPG/JPEG images.
- If using the Image Resizer & Optimizer GD plugin, you must set the Overide dynamic resizing and optimization to On. I am working on a fix for this.
- Animated GIF images only have the first frame processed. Therefore, they are flattened to a static image.
Requirements:
- PHP 5.4+ with bundled GD
- fopen wrappers enabled in php.ini
Installation:
1. Unpack the Image Filter GD zip file and upload imagefilter_gd.php and the imagefilterGD folder to the inc/plugins directory.
2. Go to your Admin Plugins Manager and activate Image Filter with GD.
3. Go to your Admin MyCode Manager and create a new MyCode tag. Give it a title and description.
4. Enter the following as the Regular Expression:
\[img_filter=(.*?)\](.*?)\[/img_filter\]
5. Enter the following as the Replacement:
<img src="http://myboard.com/path/to/inc/plugins/imagefilterGD/image_filter.php?filename_gd=$2&filter_gd=$1&" alt="$2" title="$2" />
6. Enable the MyCode tag. This plugin is has no settings and is enabled/disabled via the MyCode manager.
Example MyCode tag:
[img_filter=pixelate]http://mysite.com/path/to/image.png[/img_filter]
Download:
http://mods.mybb.com/view/image-filter-gd
Sample images: