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
F15556313: D12810.id.diff
Mon, Apr 28, 3:45 PM
F15550634: D12810.diff
Sun, Apr 27, 12:49 PM
F15544416: D12810.id.diff
Sat, Apr 26, 4:46 AM
F15476595: D12810.id.diff
Apr 7 2025, 7:41 AM
F15456759: D12810.id30830.diff
Mar 30 2025, 11:58 AM
F15455126: D12810.id30788.diff
Mar 29 2025, 10:23 PM
F15454047: D12810.diff
Mar 29 2025, 3:59 PM
F15450742: D12810.id.diff
Mar 28 2025, 5:53 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.