codevise / pageflow

Multimedia story telling for the web.
http://pageflow.io
MIT License
688 stars 125 forks source link

Auto-orient images when determining dimensions #2113

Closed tf closed 1 month ago

tf commented 1 month ago

libvips and image magick handle image orientation correctly when creating thumbnails. Paperclip only parses the orientation header, but does not automatically apply when parsing geometry.

Storing dimensions in the wrong orientation causes inline images to have an incorrect aspect ratio.

REDMINE-20746