Our Blog

Frontend Edit Profile and Cimy User Extra Fields

Having trouble updating the avatar field from Cimy User Extra Fields from the front end? I recently used Frontend Edit Profile to allow users to edit profile on the frontend of a site (Yes, there are better options but we went with this) and everything saved fine… except the avatar field. After some rediculous troubleshooting, I found the simplest answer. Find the form which edits the profile, for me it was _form.php, and make sure the form is encrypted by adding the following to the form:

¬†enctype=”multipart/form-data”

So your final opening of the form should look like this:

<form id=”your-profile” action=”#fep-message” method=”post”<?php do_action(‘user_edit_form_tag’); ?> enctype=”multipart/form-data”>

So simple!