Update img() and link_to() functions.