Variable: gnus-blocked-images

gnus-blocked-images is a customizable variable defined in gnus-art.el.gz.

Value

gnus-block-private-groups

Documentation

Images that have URLs matching this regexp will be blocked.

Note that the main reason external images are included in HTML emails (these days) is to allow tracking whether you've read the email message or not. If you allow loading images in HTML emails, you give up privacy.

The default value of this variable blocks loading external resources when reading email groups (and therefore stops tracking), but allows loading external resources when reading from NNTP newsgroups and the like.

People controlling these external resources won't be able to tell that any one person in particular has read the message (since it's in a public venue, many people will end up loading that resource), but they'll be able to tell that somebody from your IP address has accessed the resource.

This can also be a function to be evaluated. If so, it will be called with the group name as the parameter, and should return a regexp.

This variable was added, or its default value changed, in Emacs 24.1.

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defcustom gnus-blocked-images #'gnus-block-private-groups
  "Images that have URLs matching this regexp will be blocked.
Note that the main reason external images are included in HTML
emails (these days) is to allow tracking whether you've read the
email message or not.  If you allow loading images in HTML
emails, you give up privacy.

The default value of this variable blocks loading external
resources when reading email groups (and therefore stops
tracking), but allows loading external resources when reading
from NNTP newsgroups and the like.

People controlling these external resources won't be able to tell
that any one person in particular has read the message (since
it's in a public venue, many people will end up loading that
resource), but they'll be able to tell that somebody from your IP
address has accessed the resource.

This can also be a function to be evaluated.  If so, it will be
called with the group name as the parameter, and should return a
regexp."
  :version "24.1"
  :group 'gnus-art
  :type '(choice (const :tag "Allow all" nil)
                 (regexp :tag "Regular expression")
                 (function :tag "Use a function")))