Fixed avatar thumbnail was not automatically created when 'Form configuration' is enabled

git-svn-id: https://plugins.svn.wordpress.org/cimy-user-extra-fields/trunk@951958 b8457f37-d9ea-0310-8a92-e5e31aec5664
Fixed use of deprecated function 'image_resize'

git-svn-id: https://plugins.svn.wordpress.org/cimy-user-extra-fields/trunk@951959 b8457f37-d9ea-0310-8a92-e5e31aec5664