oK
I replaced this code:
<li class='cAuthorPane_photo'>
{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
</li>
with it:
<li class='cAuthorPane_photo'>
{{if $comment->author()->pp_main_photo}}
<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$seoName"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$seoName"}' title="{lang="view_user_profile" sprintf="$name"}">
<span class='ipsUserPhoto ipsUserPhoto_variable'>
<img src="{setting="base_url"}uploads/{$comment->author()->pp_main_photo}" />
</span>
</a>
{{else}}
<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$seoName"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$seoName"}' title="{lang="view_user_profile" sprintf="$name"}">
<span class='ipsUserPhoto ipsUserPhoto_variable'>
<img src="<Path_to>/default_photo.png" />
</span>
</a>
{{endif}}
</li>
And
I have added this code in CSS- custom.css:
.ipsUserPhoto_large img, img.ipsUserPhoto_large, .ipsUserPhoto_large::after {
width: 150px;
height: 300px;
}
and now my avatars appear ok but default photo.png it disappeared
Which may be the problem?