The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Resizing Off-Site Avatars

View previous topic View next topic Go down

Solved Resizing Off-Site Avatars

Post by Guest on January 23rd 2011, 4:29 am

I need help trying to resize avatars that members link off-site. If a member links an avatar that is too big from an off-site URL, the image remains huge and never resizes to fit into the post profile. Help!

Guest
Guest


Back to top Go down

Solved Re: Resizing Off-Site Avatars

Post by panterua on January 23rd 2011, 5:12 am

Hi, try this css, go to admin panel - display - colors - css stylesheet, paste:
.postprofile-details dt img {max-width:100px;}
adjust the 100 to your preference. it resize the image only if exceeds the indicated size. This adjusts the size of the avatar only if necessary. it maintaining original image aspect ratio. greetings

panterua
Forumember

Male Posts : 90
Reputation : 110
Language : Spanish, English
Location : Uruguay

http://mudreadlocks.superforo.net/u8

Back to top Go down

Solved Re: Resizing Off-Site Avatars

Post by Guest on January 23rd 2011, 6:18 am

Thanks. All I had to do was adjust the width of that code to the default 150px, I tested an off-link for my avatar and it worked. Smile

Guest
Guest


Back to top Go down

Solved Re: Resizing Off-Site Avatars

Post by Jophy on January 23rd 2011, 6:21 am

Solved => Topic Locked (Solved Tag Added)

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum