Making avatars re size to a set size if they are too big
4 posters
Page 1 of 1
Making avatars re size to a set size if they are too big
Currently if somebody implements an avatar that is too big it just goes all over the place rather than resizing. How could I make this work in either CSS or JavaScript.
This is what it is looking like now with a avatar that is too big:
All help is highly appreciated.
This is what it is looking like now with a avatar that is too big:
All help is highly appreciated.
Last edited by Yous000 on May 30th 2012, 3:22 am; edited 1 time in total
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Making avatars re size to a set size if they are too big
Hi,
Really, in my opinion, I would just re-size it or crop it. If that obviously doesn't work then find the same image but in a different size~
Really, in my opinion, I would just re-size it or crop it. If that obviously doesn't work then find the same image but in a different size~
Bingoo- Forumember
- Posts : 134
Reputation : 7
Language : English, Spanish
Re: Making avatars re size to a set size if they are too big
Bingoo wrote:Hi,
Really, in my opinion, I would just re-size it or crop it. If that obviously doesn't work then find the same image but in a different size~
But you can't expect everyone to re size their images. I would like it to auto re-size images that are too big.
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Making avatars re size to a set size if they are too big
Hmm, I see your point, but I can't really help you since that has never happened to me or in my forum.
Bingoo- Forumember
- Posts : 134
Reputation : 7
Language : English, Spanish
Re: Making avatars re size to a set size if they are too big
add to css
100px
- Code:
.postprofile a img {max-width:100px}
100px
Re: Making avatars re size to a set size if they are too big
c3vietk wrote:add to css
- Code:
.postprofile a img {max-width:100px}
100px
Works fine, much thanks.
Solved.
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Making avatars re size to a set size if they are too big
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» need help making banner correct size
» Different size avatars for members, mods, admins
» Allow post making but not Topic Making?
» Click to see full size for image does not show full size
» Need Help Making A Widget
» Different size avatars for members, mods, admins
» Allow post making but not Topic Making?
» Click to see full size for image does not show full size
» Need Help Making A Widget
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum