| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  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.
		 | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   Quote: 
 in your vb options | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			How it to make? In options as much as possible admissible size an avatar is set only, minimum is not present.
		 | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			In usergroup settings go to Picture Uploading Permissions and set the Custom Avatar Maximum Height/width to 100px.
		 | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			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.
		 | 
| 
			 
			#6  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			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}}" /> | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |