Jump to content
Sign in to follow this  

Marire Avatar IPS 4.x

Recommended Posts

tutorial marire avatar.png

Cu acest tutorial puteti modifica dimensiunile avatarelor pe versiunile de IPS 4.1 / 4.2 / 4.3 


  • Cautam in forums -> topics -> postContainer :
<li class='cAuthorPane_photo'>
{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
  • Inlocuim codul de sus cu codul de mai jos :
<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}" />
              			<img src='{resource="default_photo.png" app="core" location="global"}' />
  • Pentru a definii si in css, mergem in custom.css si adaugam la final :
.cAuthorPane_photo img {
    max-width: 160px;
    width: auto;


De retinut, va fi nevoie sa modificati si in setarile grupurilor dimensiunile la 200/250/300 de px ca avatarele sa apara la marimea de 160x200 / 160x250 / 160x300





  • Like 1
  • Thanks 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this