diff --git a/plugins/sfThumbnailPlugin/lib/sfImageMagickAdapter.class.php b/plugins/sfThumbnailPlugin/lib/sfImageMagickAdapter.class.php index 3e9cd5827b..f86c50f041 100644 --- a/plugins/sfThumbnailPlugin/lib/sfImageMagickAdapter.class.php +++ b/plugins/sfThumbnailPlugin/lib/sfImageMagickAdapter.class.php @@ -333,7 +333,7 @@ public function save($thumbnail, $thumbDest, $targetMime = null) break; } // end switch - $command .= ' -thumbnail '; + $command .= ' -auto-orient -thumbnail '; $command .= $thumbnail->getThumbWidth().'x'.$thumbnail->getThumbHeight(); // See Qubit issue 2380