shr-max-image-proportion - yes! #emacs

🕢︎ - 2016-01-11

I am working on a system that allows me to read Atom/RSS-feeds using nntp - in Gnus, Thunderbird, slrn, or whatever newsclient you prefer.

Reading the newsfeed of the Danish Broadcasting Corporation was annoying me a bit, because the pictures they include are huuuge.

It would be nice if they were scaled down a bit - but I don't want tiny images scaled down as well...

Lo and behold, Lars has already solved this problem in shr.el, the HTML-renderer used in Gnus (and eww): setting shr-max-image-proportion to 0.5 on the topic of all my Atom/RSS-based groups → hey presto, problem solved.

Add comment

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

¹ Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).

Or, you can fill in this form: