optimise images
change avatar to jpg