Image and link methods

Depends on #627.
Can modify link attributes