Mergem în forums - topics și selectăm „postContainer” după care căutăm următorul cod :
<li class='cAuthorPane_photo'>
{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
</li>
Codul de mai sus îl vom înlocui cu următorul :
<li class='cAuthorPane_photo'>
{{if $comment->author()->pp_main_photo}}
<span class='ipsUserPhoto ipsUserPhoto_variable'>
<img src="{setting='base_url'}uploads/{$comment->author()->pp_main_photo}" />
</span>
{{else}}
<img src='{resource="default_photo.png" app="core" location="global"}' />
{{endif}}
</li>
Salvăm după care mergem în „costum.css” și adăugăm următorul cod :
.cAuthorPane_photo img {
max-width: 170px;
width: auto;
}
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.