aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-media.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index ff40633..eaa9718 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -196,7 +196,7 @@ IMAGE-OPTIONS are the precomputed options to apply to the image."
(if (version< emacs-version "27.1")
(when image-options 'imagemagick)
nil) ; inbuilt scaling in 27.1
- t nil))))
+ t `(:max-width ,(window-pixel-width))))))
(when mastodon-media--enable-image-caching
(unless (url-is-cached url) ;; cache if not already cached
(url-store-in-cache url-buffer)))