Introduce a new variable, gnus-blocked-images, and use that instead of the w3m variable.