Instead of image only, get all the files that could be attached to the content.

Also, get other meta information that could be useful for templating.