How do you change avatar preview image

using the custom avatar uploader, it gives you an option to upload an avatar with a custom image but it doesn't really elaborate on how to do it and I couldn't get it to work, could anyone please explain how it works