Craft 3 Author Photo Trying to display the author photo of the entry (it's there for sure).  The Craft 2 way I used entry.author.photoUrl but that is not working so I tried entry.author.photo.url and that does not show anything and no error or warnings.

Is what I am doing correct?
{{ 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.