our %SIZE = (smallthumb => 96,
medthumb => 144,
bigthumb => 228,
+ small => 480,
+ embed => 720,
view => 1200);
export qw{init};
$scaled->image_set_format($ty->imlibfmt);
$scaled->set_quality(90);
my $new = "$TMP/t$$-$ext";
- make_path $TMP;
+ make_path $TMP, { mode => 0771 };
$scaled->save($new);
- make_path $dir;
+ make_path $dir, { mode => 0771 };
rename $new, $thumb;
return $thumburl;
}