Page MenuHomePhabricator

Fix bad aspect ratio on some file previews
ClosedPublic

Authored by epriestley on May 12 2015, 3:32 PM.
Tags
None
Referenced Files
F13095938: D12810.id30830.diff
Thu, Apr 25, 1:30 PM
F13095936: D12810.id30788.diff
Thu, Apr 25, 1:30 PM
F13095935: D12810.id.diff
Thu, Apr 25, 1:29 PM
F13088474: D12810.diff
Thu, Apr 25, 1:26 AM
Unknown Object (File)
Sat, Apr 20, 8:04 PM
Unknown Object (File)
Fri, Apr 19, 1:55 AM
Unknown Object (File)
Sat, Apr 13, 9:32 PM
Unknown Object (File)
Tue, Apr 9, 10:46 PM

Details

Summary

Ref T7707. Fixes T4724. I misread the report on T4724; this is trivial. We're just reading the wrong properties in setting "width" and "height" attributes, the actual thumbnailing logic is fine.

Test Plan

Uploaded image from T4724, saw it have a proper aspect ratio.

Diff Detail

Repository
rP Phabricator
Branch
fxform4
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5921
Build 5941: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Fix bad aspect ratio on some file previews.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.May 12 2015, 4:30 PM
This revision was automatically updated to reflect the committed changes.