Image and link methods

Depends on #627.
"Inserts link with attributes".