Title: use image field as user profile pic
Last modified: August 21, 2016

---

# use image field as user profile pic

 *  [coco](https://wordpress.org/support/users/king-janak/)
 * (@king-janak)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/image-uploading-error-4/)
 * how do i use image field as user profile pic while registration,i try to do this
   but it shows me this error 🙁
 * PHP Error Message
 * Warning: mkdir() [function.mkdir]: No such file or directory in /home/a2812200/
   public_html/wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-
   custom-fields-type.php on line 1123
 * PHP Error Message
 * Warning: copy(/home/a2812266/public_html/wp-content/uploads/profiles/6/image.
   jpg) [function.copy]: failed to open stream: No such file or directory in /home/
   a2812200/public_html/wp-content/plugins/buddypress-xprofile-custom-fields-type/
   bp-xprofile-custom-fields-type.php on line 1125
 * [http://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/](http://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/image-uploading-error-4/#post-3967570)
 * Hi,
 * I believe the creation of directory failed, so I think the problem is maybe with
   permissions. You need to check if uploads and profiles directories have write
   permissions: 755.
 *  Thread Starter [coco](https://wordpress.org/support/users/king-janak/)
 * (@king-janak)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/image-uploading-error-4/#post-3967582)
 * yes permissions are 755,still having this problem
 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/image-uploading-error-4/#post-3967688)
 * I don’t know where is the problem. You need to check other plugins you are using
   or versions of wordpress and buddypress.
 * In my case, latest versions of buddypress, wordpress and my plugin, all work 
   as expected but maybe I have a conflict with an other plugin you are using.
 *  Thread Starter [coco](https://wordpress.org/support/users/king-janak/)
 * (@king-janak)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/image-uploading-error-4/#post-3967698)
 * so, do u have any solution to make user upload their images while registration?
 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/image-uploading-error-4/#post-3967704)
 * I have no solution in your case. You need to check the other plugins. Try to 
   deactivate plugins one by one until you find if one of them are the reason why
   my plugin don’t work for you.
 * As I say before, in my test site, the uploading of image in registration is working
   as expected, so maybe it can be a conflict with a plugin installed in your site.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘use image field as user profile pic’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-xprofile-custom-fields-
   type.svg)
 * [Buddypress Xprofile Custom Fields Type](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [donmik](https://wordpress.org/support/users/atallos/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/image-uploading-error-4/#post-3967704)
 * Status: not resolved