Home Forums Front-end Issues Front End User Profile Edit – Image Upload Reply To: Front End User Profile Edit – Image Upload

  • @James,

    Yea that doesn’t help me because I really want to format the layout of the fields. If I just display the fields like that I can’t control anything and it just spits them out 1 by 1.

    So far, I’ve managed to write this up: which works on the front end nicely… but it does NOT save the image to the user’s profile.

    	$field_key = "field_56a256d53721e";
    	$field = get_field_object($field_key, 'user_'.$current_user->ID);
    	if( $field )
    		echo '<input type="file" id="acf-' . $field['key'] . '" name="acf[' . $field['key'] . ']">';

    Do you have maybe something more complete that could help me with this issue?

    Here is a screenshot of how I have my file ACF field set up:

    Background Image Upload