git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: promote news article class to represent all pages
[minimedit.git]
/
thumb
/
index.php
diff --git
a/thumb/index.php
b/thumb/index.php
index 2a8e30303f7abf9482dca27e6f57e5cf9110aa5d..24f46ccb97ab44ea5125c48d63dc18a03283d4bd 100644
(file)
--- a/
thumb/index.php
+++ b/
thumb/index.php
@@
-91,7
+91,7
@@
function mkthumb_exec($source, $target, $width, $height)
'-trim',
'-resize', "${width}x${height}",
'-quality', '90%',
- $source,
$target
+ $source,
"jpg:$target"
]));
$return = shell_exec("$cmd 2>&1");
if ($return) {