git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
issue: move photo icon before replies
[minimedit.git]
/
thumb
/
index.php
diff --git
a/thumb/index.php
b/thumb/index.php
index 4549b44e6ab67385c52d6168da8b8b529ea16fe4..fbea220b2bf7d48f5b0ae556862063c30271a816 100644
(file)
--- a/
thumb/index.php
+++ b/
thumb/index.php
@@
-87,6
+87,7
@@
function mkthumb_exec($source, $target, $width, $height)
}
$cmd = implode(' ', array_map('escapeshellarg', [
'convert',
+ '-delete', '1--1',
'-trim',
'-background', 'white', '-layers', 'flatten',
'-resize', "${width}x${height}",