DIR updated

I just pushed an update to my Directory Image Resizer script, now it supports a fuzziness factor when resizing images. Before, if your image was even a tiny bit off the ratio that you wanted and you were using the crop or padding method it would either cut just a sliver off or add a sliver of padding. Small distortions however arn’t readily noticable, so if the distortion is within the fuzziness factor it will distort it to fit instead. Can be disabled easily in the resizer.php options.

I also made some changes to the div.js script, mainly renaming it to dir.js (as that seems much more logical) and adding a path to prevent it from creating a bunch of cookies when it really only needs one.

Update is on github, ready to go.

Leave a Reply

Your email address will not be published. Required fields are marked *