Actions
Defect #26379
closedFix thumbnail rendering for images with height >> width
Defect #26379:
Fix thumbnail rendering for images with height >> width
Resolution:
Fixed
Affected version:
Description
The ImageMagick format rule being `100x100>` (given 100 as thumbnail size in settings), when uploading images with a height much greater than the width (like websites templates) the thumbnail will have a height of 100px and a computed width so homothety is respected.
In the `thumbnail_tag` helper from `ApplicationHelper`, the width attribute is set width `Setting.thumbnails_size`. I suggest to remove this attribute from the image tag since the source thumbnail has the right size.
Am I missing some cases where this change could have an important impact ?
Files
Actions

