Jump to content
Sign in to follow this  
The # Noise

Tutorial Marire Avatare IPS 4.4

Recommended Posts

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 AND $comment->author()->pp_thumb_photo}} <img src="{url="" base=""}/uploads/{$comment->author()->pp_main_photo}"> {{else}} <img src="{$comment->author()->photo}"> {{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; }

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...