mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
set density of preview created from tar.gz files to 100
This commit is contained in:
parent
f387327429
commit
dfb0ca25bd
|
@ -109,7 +109,7 @@ class SeedDMS_Preview_Previewer {
|
||||||
$cmd = 'convert -resize '.$width.'x '.$file.'[0] '.$target;
|
$cmd = 'convert -resize '.$width.'x '.$file.'[0] '.$target;
|
||||||
break;
|
break;
|
||||||
case "application/x-compressed-tar":
|
case "application/x-compressed-tar":
|
||||||
$cmd = 'tar tzvf '.$file.' | convert -resize '.$width.'x text:-[0] '.$target;
|
$cmd = 'tar tzvf '.$file.' | convert -density 100 -resize '.$width.'x text:-[0] '.$target;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if($cmd) {
|
if($cmd) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user