Resize avatars for phpBB2, CSS code
4 posters
Page 1 of 1
Resize avatars for phpBB2, CSS code
When my forum was using phpBB3 this code worked fine for me, this code was given to me by c3vietk.
Now that I have changed my forum to phpBB2 the code does not work anymore . How can I make avatars automatically re size to a set px?
All replies and help are greatly appreciated
- Code:
.postprofile a img {max-width:150px}
Now that I have changed my forum to phpBB2 the code does not work anymore . How can I make avatars automatically re size to a set px?
All replies and help are greatly appreciated
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Resize avatars for phpBB2, CSS code
why use css?
You can set this in your avatar options?
You can set this in your avatar options?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Resize avatars for phpBB2, CSS code
kirk wrote:why use css?
You can set this in your avatar options?
How so I remember that not working when I used phpBB3 so I used CSS
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Resize avatars for phpBB2, CSS code
I dont know what you mean?
do you have css for it now, if not just set in your admin panel and be done with it.
Or give your forum link and let me see if i can get the proper css for it.
I just think it's silly to use css or any other coding for things that there is no need for, you already have this option
all you do is go to.
Admin panel>display>Avatars>Personal Avatars.
set for Personal Avatars gallery to what you want and hit save.
it works for the whole forum not only the gallery.
do you have css for it now, if not just set in your admin panel and be done with it.
Or give your forum link and let me see if i can get the proper css for it.
I just think it's silly to use css or any other coding for things that there is no need for, you already have this option
all you do is go to.
Admin panel>display>Avatars>Personal Avatars.
set for Personal Avatars gallery to what you want and hit save.
it works for the whole forum not only the gallery.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Resize avatars for phpBB2, CSS code
kirk wrote:I dont know what you mean?
do you have css for it now, if not just set in your admin panel and be done with it.
Or give your forum link and let me see if i can get the proper css for it.
I just think it's silly to use css or any other coding for things that there is no need for, you already have this option
all you do is go to.
Admin panel>display>Avatars>Personal Avatars.
set for Personal Avatars gallery to what you want and hit save.
it works for the whole forum not only the gallery.
I have it set to a good size but yet when one of my members have a huge avatar it pushes everything aside and stays giant. This same thing happened to me last time on phpBB3 so I had to use CSS.
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Resize avatars for phpBB2, CSS code
So then you are setting it too big.
whats your forum link?
whats your forum link?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Resize avatars for phpBB2, CSS code
i dont seem to see any css to chang the dimensions so i am unsure of the css for this as of now.
You should just go and delete the members avatar and tell him to re-upload it, or you can re-up to the size you want. keep in mind you can still change the dimensions in your avatar settings, it's just any members avatars that may be too big now will have to re-upload them for it to take effect to the new dimensions.
Other then that we will have to wait and see if another staff or member knows the css for phpbb2?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Resize avatars for phpBB2, CSS code
kirk wrote:
i dont seem to see any css to chang the dimensions so i am unsure of the css for this as of now.
You should just go and delete the members avatar and tell him to re-upload it, or you can re-up to the size you want. keep in mind you can still change the dimensions in your avatar settings, it's just any members avatars that may be too big now will have to re-upload them for it to take effect to the new dimensions.
Other then that we will have to wait and see if another staff or member knows the css for phpbb2?
All my forum members currently are friends so I am having them use small avatars. I had this same problem using phpBB3 but the CSS worked fine last time. Now that I am using phpBB2 that code is not working so I am hoping for a working one
I really appreciate all your help on my threads
Last edited by Yous000 on July 3rd 2012, 9:22 pm; edited 1 time in total
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Resize avatars for phpBB2, CSS code
You can just change it to:
The automatic re-sizing tool isn't great. Its much better just setting a max-height in the css.
Curious as to why anyone would choose to downgrade their forum. To something version 3, to something version 2 lol... there was a reason 3 was made and now 4 is being made, because 2 sucked.
- Code:
.poster-profile > a img {max-width:150px}
The automatic re-sizing tool isn't great. Its much better just setting a max-height in the css.
Curious as to why anyone would choose to downgrade their forum. To something version 3, to something version 2 lol... there was a reason 3 was made and now 4 is being made, because 2 sucked.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Resize avatars for phpBB2, CSS code
LGforum wrote:You can just change it to:
- Code:
.poster-profile > a img {max-width:150px}
The automatic re-sizing tool isn't great. Its much better just setting a max-height in the css.
Curious as to why anyone would choose to downgrade their forum. To something version 3, to something version 2 lol... there was a reason 3 was made and now 4 is being made, because 2 sucked.
Works 100% thank you so much.
I switched to 2 because there is so much I don't like about 3 and 2 has the theme I want
Yous000- Forumember
- Posts : 240
Reputation : 4
Language : English
Re: Resize avatars for phpBB2, CSS code
Topic Solved & Locked |
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» resize friends avatars vol.2
» Resize avatars in profile
» resize friends avatars
» [PHPbb2] Link to an off-site Avatar resize help.
» [PHPBB2] Letting Users Choose Their Avatars
» Resize avatars in profile
» resize friends avatars
» [PHPbb2] Link to an off-site Avatar resize help.
» [PHPBB2] Letting Users Choose Their Avatars
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum