I think the avwidth and height are only set if the user has a custom avatar. Also, that would only work if avwidth and avheight were registered to that template. Maybe you want {vb:raw post.avwidth} and {vb:raw post.avheight}?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.