ImageScaler resamples image files that have been resized in the post editor.
When images are resized in the WordPress post editor, the images themselves stay the same and the browser
is instructed to resize the images after downloading them. This wastes bandwidth, and results in ugly
looking resized images. To eliminate this problem, the ImageScaler plugin checks for the image sizes in
each post and resizes the images if required. The original image is not modified, so it can still be
used in other posts at full size.
By default, an extra attribute is added to some of the image tags in each post. The attribute is non-standard,
so it may cause (x)html validation to fail. If you require valid (x)html, the plugin has an option that
strips the non-standard output from the post before it is sent to the browser.
This is the first version of ImageScaler. Please contact me at
paulgb at gmail dot com if you find a bug
or have unexpected results.
1.0 – October 4, 2007
(Big thanks to David Karlsson for writing this version)
– Added maximum height and width
– Added check for GD
1.1 – October 20, 2007
– Now works on remotly hosted images (mirrors remote images locally, even if they are not resized)
– Now works if the WordPress blug URL differs from the WordPress home directory (thanks Dominique)
– Tested with WordPress 2.3
– Aspect ratio is now always preserved, not just when a maximum is reached