Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14015433
D12810.id30788.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
756 B
Referenced Files
None
Subscribers
None
D12810.id30788.diff
View Options
diff --git a/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php b/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php
--- a/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php
+++ b/src/applications/files/markup/PhabricatorEmbedFileRemarkupRule.php
@@ -110,8 +110,8 @@
$attrs['src'] = $file->getPreview220URI();
$dimensions =
PhabricatorImageTransformer::getPreviewDimensions($file, 220);
- $attrs['width'] = $dimensions['sdx'];
- $attrs['height'] = $dimensions['sdy'];
+ $attrs['width'] = $dimensions['dx'];
+ $attrs['height'] = $dimensions['dy'];
$image_class = 'phabricator-remarkup-embed-image';
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 4, 6:47 PM (2 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6742965
Default Alt Text
D12810.id30788.diff (756 B)
Attached To
Mode
D12810: Fix bad aspect ratio on some file previews
Attached
Detach File
Event Timeline
Log In to Comment