Support

Account

Home Forums ACF PRO Repeater images uploaded to CPT, how do I replace them?

Helping

Repeater images uploaded to CPT, how do I replace them?

  • I am using a repeater field on a frontend form, for up to 4 images.

    The images upload just fine, and attach to the CPT post.

    Where I’m having trouble, is now when I bring the form back up, the images don’t display in the fields provided.

    I am new to ACF, and not sure where I should be looking at this point.

    Advice please?

  • Let me add to this. The code I’m using to display the form, is:

    	acf_form_head();
    	acf_form( array(
    		'id'              => 'acf-form',
    		'post_id'         => $post->ID,
    		'post_title'      => false,
    		'new_post'        => false,
    		'post_content'    => false,
    		'post_category'   => false,
    		'kses'	          => true,
    		'submit_value'    => 'Submit Post',
    		'updated_message' => 'Saved!',
    		'uploader'        => 'wp',
    		'return'          => '/dashboard',
    	));

    Any ideas? The images are uploaded into the media library, and attached to the post, but when I bring the post back into ACF (frontend) the images are not shown with the form.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Repeater images uploaded to CPT, how do I replace them?’ is closed to new replies.