Craft 3 Author Photo
{{ entry.getAuthor().getPhoto().getUrl() }}


Here is the function. Of course if the author has no photo you'll receive nothing (but an exception). Furthermore this function returns the URL not a HTML tag.