mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +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 getContextMenu for defining wallentry context options.
|
||||||
- Enh: Added editMode to WallEntry for allowing modal based edits.
|
- Enh: Added editMode to WallEntry for allowing modal based edits.
|
||||||
- Fix: file-preview text overflow in HumHub theme.
|
- 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)
|
1.2.0-beta.1 (February 08, 2017)
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
@ -36,7 +36,7 @@ class ImageConverter
|
|||||||
|
|
||||||
if (Yii::$app->getModule('file')->settings->get('imageMagickPath')) {
|
if (Yii::$app->getModule('file')->settings->get('imageMagickPath')) {
|
||||||
$convertCommand = 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);
|
$ret = passthru($command);
|
||||||
} else {
|
} else {
|
||||||
$gdImage = self::getGDImageByFile($sourceFile);
|
$gdImage = self::getGDImageByFile($sourceFile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user