Otherwise you can use the automatically generated indices in the cache
tree to deduce the names of the hidden folders in the main image tree.
$scaled->image_set_format($ty->imlibfmt);
$scaled->set_quality(90);
my $new = "$TMP/t$$-$ext";
$scaled->image_set_format($ty->imlibfmt);
$scaled->set_quality(90);
my $new = "$TMP/t$$-$ext";
+ make_path $TMP, { mode => 0771 };
+ make_path $dir, { mode => 0771 };
rename $new, $thumb;
return $thumburl;
}
rename $new, $thumb;
return $thumburl;
}