No request links for images. Towards #1005.

not sure i understand the benefit of these changes. By removing the `document` as a parameter to these helpers, you're creating a tighter coupling between the helpers and the context in which they are used.