diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-03-12 15:19:33 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-03-12 15:19:33 +0100 |
commit | 6935c9290278e8b14f518df6de883ca81930e439 (patch) | |
tree | 15bfa8bbb47adc4b46376a91e38f2e5dfc440b62 /lisp/mastodon-media.el | |
parent | 21d8771fea36a29693bc319ab5ec5107d0ce1b13 (diff) |
scale full size image to window-width. FIX #542.
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r-- | lisp/mastodon-media.el | 2 |
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))) |