Avatar sizing restrictions
+2
zenzo
UltimateShinobi
6 posters
Page 1 of 1
Avatar sizing restrictions
'Displays a small graphic image below your details in posts. Only one image can be displayed at a time, its width cannot exceed 150 pixels, the height cannot exceed 150 pixels, and the file size cannot be higher than 64 KB.'
I have this option selected because I don't want want peoples avatars exceeding 150x150 but they still can have larger ones.
What am I doing wrong?
I have this option selected because I don't want want peoples avatars exceeding 150x150 but they still can have larger ones.
What am I doing wrong?
Re: Avatar sizing restrictions
i think they already upload their avatar before you customize on your acp
try to reupload their avatar
try to reupload their avatar
zenzo- Forumember
- Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines
Re: Avatar sizing restrictions
Forum URL? You can resize it.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Avatar sizing restrictions
I'm quite surprised I have to add CSS coding to override an internal admin setting like that, oh well. I gave it a go and it seems it works for new images.
I'm wondering why it doesn't effect existing users' avatars?
I'm wondering why it doesn't effect existing users' avatars?
Re: Avatar sizing restrictions
The code shall work for all users.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Avatar sizing restrictions
It doesn't appear that it is and I've just discovered that if somebody puts up an avatar via an URL link, not uploading it from their computer. It is still the size it wants to be, not 150x150.
Re: Avatar sizing restrictions
URL to that thread where the size is bigger even after adding that code?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Avatar sizing restrictions
how to remove that url or hide it
zenzo- Forumember
- Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines
Re: Avatar sizing restrictions
It's on their profiles, and I'm being told by a member that its still the same size on the side widget for them.
Here's an example: http://www.ultimateshinobi.org/u1834
Here's an example: http://www.ultimateshinobi.org/u1834
Re: Avatar sizing restrictions
Add this in your css. See if the avatar in the profile reduces.
- Code:
tr td.row1 img {
max-width: 100px !important;
max-height: 100px !important;
}
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Avatar sizing restrictions
I'm also a staff member on the site and while this works, it also reduces all images posted on the site to that small size.
Originally, the code I had looked like:
Problem is that the img tag shrinks all images. If we change it to
It changes EVERY image on the widget except the login widget avatar because the login widget image is not a link.
I thought about trying to make the login widget avatar link to the profile so that it'd be included in the a img, but I have no clue how to do that.
I thought about doing #content-container #left img:not(.a img) but it seems forumotion doesn't support the not() CSS3 property.
Originally, the code I had looked like:
- Code:
#content-container #left a img{
max-width: 180px !important;
max-height: 100px !important;
min-height: 18px !important;
min-width: 16px !important;
}
#content-container #left img {
height: 150px; width: 150px;
}
Problem is that the img tag shrinks all images. If we change it to
- Code:
#content-container #left a img {
height: 150px; width: 150px;
It changes EVERY image on the widget except the login widget avatar because the login widget image is not a link.
I thought about trying to make the login widget avatar link to the profile so that it'd be included in the a img, but I have no clue how to do that.
I thought about doing #content-container #left img:not(.a img) but it seems forumotion doesn't support the not() CSS3 property.
Re: Avatar sizing restrictions
Yes, with phpbb2 the css is restricted. I will see if anything can be done via templates.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Avatar sizing restrictions
Hi,
Have you tried the code posted above by Sanket? If it isn't working try:
Have you tried the code posted above by Sanket? If it isn't working try:
- Code:
table.forumline tr td.row1.gensmall img{
max-width: 100px !important;
max-height: 100px !important;
}
Re: Avatar sizing restrictions
how code phpBB3
slavib- Forumember
- Posts : 84
Reputation : 2
Language : Bulgarian
Location : Bulgaria
Re: Avatar sizing restrictions
It would be better if you make a new thread for your problem.slavib wrote:how code phpBB3
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» Problem With Avatar Re-Sizing (And question about Signature re-sizing)
» Avatar Sizing Help
» Avatar sizing issue
» Avatar Restrictions.
» please help me fix sizing
» Avatar Sizing Help
» Avatar sizing issue
» Avatar Restrictions.
» please help me fix sizing
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum