Skip to content

Commit b588529

Browse files
committed
Add doc line
1 parent ef7fb10 commit b588529

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/Revolution/Sources/modMediaSource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,7 @@ public function uploadObjectsToContainer($container, array $objects = [])
11821182
$this->xpdo->log(modX::LOG_LEVEL_ERROR, $e->getMessage());
11831183
}
11841184

1185+
// Check if Orientation is correct due to EXIF issues in JPG/JPEG and rotate if needed.
11851186
try {
11861187
$image_extensions = ['jpg', 'jpeg'];
11871188
$file_extension = strtolower(pathinfo($file['name'], PATHINFO_EXTENSION));

0 commit comments

Comments
 (0)