add anchor property to insert_image