diff --git a/app/soapbox/components/media_gallery.js b/app/soapbox/components/media_gallery.js index ff01de852..b526655a3 100644 --- a/app/soapbox/components/media_gallery.js +++ b/app/soapbox/components/media_gallery.js @@ -157,13 +157,14 @@ class Item extends React.PureComponent { ); } else if (attachment.get('type') === 'image') { - const previewUrl = attachment.get('preview_url'); + const previewUrl = attachment.get('preview_url'); - const originalUrl = attachment.get('url'); + const originalUrl = attachment.get('url'); + const letterboxed = !attachment.getIn(['meta', 'original', 'aspect']); thumbnail = (