uploaded avatar size problem
3 posters
Page 1 of 1
uploaded avatar size problem
i have a problem about the uploaded avatar size of a user..
i already do this things.
AP>>Display>>Avatars>>Avatar Gallery>> Personal Avatar
and set the Maximum Avatar File Size: 140x140 Pixels
my problem is how can i set all avatar must be 140 x 140 only!
i already do this things.
AP>>Display>>Avatars>>Avatar Gallery>> Personal Avatar
and set the Maximum Avatar File Size: 140x140 Pixels
my problem is how can i set all avatar must be 140 x 140 only!
BetterHax- Forumember
- Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines
Re: uploaded avatar size problem
Hello,
This can be done in CSS, I don't know if there's a different selector for this in the CSS, but to be sure, please provide your forum url, for the one who can provide the code.
This can be done in CSS, I don't know if there's a different selector for this in the CSS, but to be sure, please provide your forum url, for the one who can provide the code.
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
BetterHax- Forumember
- Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines
Re: uploaded avatar size problem
Try this:
You can also use this CSS code for complete modification on the upload avatars(for maximum avatars).Mr. Docteur wrote:Hello,
In your template viewtopic_body mark this line:
- Code:
{postrow.displayed.POSTER_AVATAR}
Once found, replace it with this:
- Code:
<span class="avatar_size">{postrow.displayed.POSTER_AVATAR}</span>
Once done, save your template
Just go to your CSS and put this code and save:
- Code:
.avatar_size img {
max-width:40px; /* maximum width of avatars */
min-width:40px; /* minimum width of avatars */
}
- Code:
.avatar_size img {
max-width: 40px;
max-height:40px;
}
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Re: uploaded avatar size problem
BetterHax wrote:i have a problem about the uploaded avatar size of a user..
i already do this things.
AP>>Display>>Avatars>>Avatar Gallery>> Personal Avatar
and set the Maximum Avatar File Size: 140x140 Pixels
my problem is how can i set all avatar must be 140 x 140 only!
Please provide your forum URL for appearance problems
Similar topics
» Avatar size problem
» avatar size problem
» Avatar size problem!
» Set the size on uploaded photos?
» How to limit the size of photos uploaded in the gallery?
» avatar size problem
» Avatar size problem!
» Set the size on uploaded photos?
» How to limit the size of photos uploaded in the gallery?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum