Page MenuHomePhabricator

D12810.diff
No OneTemporary

D12810.diff

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

Mime Type
text/plain
Expires
Mon, Nov 4, 6:24 PM (2 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6742965
Default Alt Text
D12810.diff (756 B)

Event Timeline