if ( ! empty( $id ) ) {
            list( $src, $width, $height ) = wp_get_attachment_image_src( $id, 'full' );
            $response['image']            = compact( 'src', 'width', 'height' );
            list( $src, $width, $height ) = wp_get_attachment_image_src( $id, 'thumbnail' );
            $response['thumb']            = compact( 'src', 'width', 'height' );