[chore] Take account of rotation data when calculating full size image dimensions (#3159)

* [chore] Take account of rotation data when calculating full size image dimensions

* boobies
This commit is contained in:
tobi 2024-07-31 20:43:39 +02:00 committed by GitHub
commit 697261da53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 74 additions and 59 deletions

View file

@ -223,7 +223,6 @@ func (p *ProcessingMedia) store(ctx context.Context) error {
width,
height,
aspect,
result.rotation,
)
p.media.FileMeta.Small.Width = thumbWidth
p.media.FileMeta.Small.Height = thumbHeight