Jump to content
WebFlake
  • 0

Change Avatar


omEga.

Question

7 answers to this question

Recommended Posts

  • 0
11 minutes ago, omEga. said:

Hello guys,  i have a problem

why is see bluration on my avatar ?

I changed my avatar and resized!

Sorry , for my english...

5

Paste your code that you changed, please ? (Remeber to use the code tag < >)

So the code you have modified on your site, paste that in here :) 

  • Upvote 1

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0

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:

uotVfy2.png

.ipsUserPhoto_large img, img.ipsUserPhoto_large, .ipsUserPhoto_large::after {
    width: 150px;
    height: 300px;
 
    
}

 

uotVfy2.png

and now my avatars appear ok but default photo.png it disappeared 

9m8W0Vh.png

Which may be the problem?

 

 

Edited by omEga.
Link to comment
Share on other sites

  • 0
<span class='ipsUserPhoto ipsUserPhoto_variable'>
                                  <img src="<Path_to>/default_photo.png" />
                          </span>

Might want to specify your path to the image? That will lead to no where. So the issue is your img src.

  • Upvote 1

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...