mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix #2280: Meta data (rotation) not respected for camera images (ImageMagick)
This commit is contained in:
parent
86a062513a
commit
14d11103de
@ -43,6 +43,7 @@ HumHub Change Log
|
||||
- Enh: Added getContextMenu for defining wallentry context options.
|
||||
- Enh: Added editMode to WallEntry for allowing modal based edits.
|
||||
- Fix: file-preview text overflow in HumHub theme.
|
||||
- Fix #2280: Meta data (rotation) not respected for camera images (ImageMagick)
|
||||
|
||||
1.2.0-beta.1 (February 08, 2017)
|
||||
--------------------------------
|
||||
|
@ -36,7 +36,7 @@ class ImageConverter
|
||||
|
||||
if (Yii::$app->getModule('file')->settings->get('imageMagickPath')) {
|
||||
$convertCommand = Yii::$app->getModule('file')->settings->get('imageMagickPath');
|
||||
$command = $convertCommand . " \"{$sourceFile}\" \"{$targetFile}\"";
|
||||
$command = $convertCommand . " -auto-orient \"{$sourceFile}\" \"{$targetFile}\"";
|
||||
$ret = passthru($command);
|
||||
} else {
|
||||
$gdImage = self::getGDImageByFile($sourceFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user