move resize_image to class method
so it can be used in profile edit
Revert "move resize_image to class method"

This reverts commit d916670bc3f45cb4395fe601bd563650bb9006eb.
Expose resize_image methods as class methods
so they can be reused from user profile edit view
add profile_image_path helper
Add profile photo field to profile edit view