The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Resizing Off-Site Avatars

2 posters

Go down

Solved Resizing Off-Site Avatars

Post by Guest 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!
avatar
Guest
Guest


Back to top Go down

Solved Re: Resizing Off-Site Avatars

Post by panterua 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
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 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
avatar
Guest
Guest


Back to top Go down

Solved Re: Resizing Off-Site Avatars

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

Solved => Topic Locked (Solved Tag Added)
Jophy
Jophy
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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