Hi All,
Would like to know that, how do i prevent Auto Thumbnailer from resizing the spacer.gif at the size of 1px x 1px ... because it messy the theme design that used spacer image.
i have tried following,
// Don't calculate if the image is set to a "%" width
if (strstr($width,'%') == false || strstr($height,'%') == false || strstr($width,'1') == false) {
$dont_calculate = 0;
} else {
$dont_calculate = 1;
}
and even
// Dont calculate if a pixel image is being passed (hope you dont have pixels for sale)
if (!strstr($image, 'pixel') || (!strstr($image, 'spacer')) {
$dont_calculate = 0;
} else {
$dont_calculate = 1;
}