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
F19156284: D12810.diff
Fri, Dec 12, 12:22 PM
F19146151: D12810.diff
Wed, Dec 10, 3:22 PM
F18852347: D12810.id.diff
Oct 31 2025, 8:05 AM
F18851602: D12810.id.diff
Oct 31 2025, 2:26 AM
F18756454: D12810.id30788.diff
Oct 5 2025, 11:33 AM
F18620822: D12810.diff
Sep 15 2025, 6:23 AM
F18505611: D12810.id.diff
Sep 5 2025, 12:49 AM
F18497839: D12810.diff
Sep 4 2025, 6:16 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.