Resize profile picture

Resize profile picture before saving it into the database