added image attributes

see pandoc [issue 261](https://github.com/jgm/pandoc/issues/261)
What is this for?