<img
	class="lazyload <?php echo $class ?? null; ?>"
	data-src="<?php echo $avatar ?>"
	src="<?php echo (settings('gameType') == 'minecraft' && settings('allowCustomAvatars') == 0) ? "/assets/core/images/loaders/head.png" : "/assets/core/images/avatars/default.png"; ?>"
	<?php echo isset($username) ? 'alt="'.$username.'"' : null; ?>
	<?php echo isset($size) ? 'width="'.$size.'"' : null; ?>
	<?php echo isset($size) ? 'height="'.$size.'"' : null; ?>
>