Fixed bug #4186 (correction): cropping didn't work for IM4/5 and GM (thanks to Helmut...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_stdgraphic.php
index 1638cdc..ca8c5d5 100644 (file)
@@ -2176,7 +2176,7 @@ class t3lib_stdGraphic    {
                                        if (!$data['origH']) { $data['origH'] = $data[1]; }
                                        $offsetX = intval(($data[0] - $data['origW']) * ($data['cropH']+100)/200);
                                        $offsetY = intval(($data[1] - $data['origH']) * ($data['cropV']+100)/200);
-                                       $params .= ' -crop '.$data['origW'].'x'.$data['origH'].'+'.$offsetX.'+'.$offsetY.'! ';
+                                       $params .= ' -crop '.$data['origW'].'x'.$data['origH'].'+'.$offsetX.'+'.$offsetY.' ';
                                }
 
                                $command = $this->scalecmd.' '.$info[0].'x'.$info[1].'! '.$params.' ';