WP_Customize_image_control
$wp_customize->add_setting( 'logo', array(
'capability' => 'edit_theme_options',
'default' => '',
'sanitize_callback' => 'ic_sanitize_image',
) );
$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'logo',
array(
'label' => __( 'Logo', 'text-domain' ),
'section' => 'general',
'settings' => 'logo',
)
) );
Tired Tuatara