Reduce image file size with Img Tag Modifier and PhpThumb
Have you ever told your client, resizing images in WYSIWYG field doesn't mean that image file size will be reduced too. Well I have, many times! until I've found IMG TAG MODIFIER.
This ExpressionEngine plugin modifies img tags and with a bit of help from PhpThumb, it will create newly resized images for you.
What do you need?
I usually put extra codes etc. under "scripts" folder so, for this example PhpThumb will be located in its folder at "/scripts/phpthumb/phpThumb.php".
Lastly download IMG TAG MODIFIER and put it into your ExpressionEngine plugin folder.
How does it work?
Very simple, in ExpressionEngine templates where you display the content, wrap custom field as in following example.
It will even create links to original image so you can use it with jQuery lightBox plugin.
If you want to test this effect, go ahead and click the image on the right.
Now you can tell your client to not worry about large images and enjoy faster download speeds with smaller image file sizes.