summaryrefslogtreecommitdiff
blob: 88c4048ab669cda9be424d2a656ccac7fa5c4be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -u --recursive mypictures.orig/index.php mypictures/index.php
--- mypictures.orig/index.php	2004-05-03 01:45:58.523174520 +0100
+++ mypictures/index.php	2004-05-03 01:47:16.713287816 +0100
@@ -471,8 +471,8 @@
   }
   
   $cmd  = $config['convert'];
-  $cmd .= ' -geometry 120x120 ';
-  $cmd .= '"'.$img.'" "'.$thumb.'"';
+  $cmd .= ' -size 120x120 ';
+  $cmd .= '"'.$img.'" -resize 120x120 +profile "*" "'.$thumb.'"';
   system($cmd);
   
   header("Content-type: image/png");