File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ To be released.
21
21
[ #65 ] : https://github.com/dahlia/hollo/issues/65
22
22
23
23
24
+ Version 0.3.3
25
+ -------------
26
+
27
+ Released on December 19, 2024.
28
+
29
+ - Fixed a bug where generated thumbnails had been cropped incorrectly
30
+ if the original image had not the EXIF orientation metadata. [[ #76 ]]
31
+
32
+
24
33
Version 0.3.2
25
34
-------------
26
35
Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ export async function uploadThumbnail(
25
25
const originalMetadata = await original . metadata ( ) ;
26
26
let width = originalMetadata . width ! ;
27
27
let height = originalMetadata . height ! ;
28
- if ( originalMetadata . orientation !== 1 ) {
28
+ if (
29
+ originalMetadata . orientation != null &&
30
+ originalMetadata . orientation !== 1
31
+ ) {
29
32
// biome-ignore lint/style/noParameterAssign:
30
33
original = original . clone ( ) ;
31
34
original . rotate ( ) ;
You can’t perform that action at this time.
0 commit comments