owncloud/core — pull request #10024 by icewind1991 (2014-07-29 15:37:18+00:00)
Title: Also keep maxY into account when scaling a preview while preserving aspect ratio

The gallery app requires thumbnails with a fixed height while keeping the aspect ratio

cc @DeepDiver1975 @georgehrke