![]() |
Avatar only 100 x 100 pixels?!
How to set not only the maximum size an avatar, but also minimum, at its placing through the control panel the participant of a forum? I want, that at a forum avatars only 100 x 100 pixels took places.
|
Quote:
in your vb options |
How it to make? In options as much as possible admissible size an avatar is set only, minimum is not present.
|
In usergroup settings go to Picture Uploading Permissions and set the Custom Avatar Maximum Height/width to 100px.
|
Maximum Height/width it not a minimum!!! If we put a maximum 100 x 100 it is possible upload and 70 x 70, and it is necessary for me ONLY 100 x100px.
|
You can't set a minimum without coding or through a plugin. Unfortunately, I am not sure how to do this, it would probably take place during some of the post-upload processing. However, you can edit the template so that it stretches whatever they upload to 100x100. In your postbit_legacy / postbit templates, search for...
postbit_legacy... Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> Code:
<img src="{vb:raw post.avatarurl}" width="100" height="100" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> Code:
<img src="{vb:raw post.avatarurl}" width="100" height="100" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> |
All times are GMT. The time now is 11:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|