edd add images

function cptuiext_edd_axtra_images( $attributes ) {

    $images = array();
    $download_images = get_post_meta( get_the_ID(), 'edd_download_images', true );
    $images = $download_images;

    if ( $download_images ) {
        foreach ( $download_images as $download_image ) {
            $html = '<img class="edd-di-image" src="' . $download_image['image'] . '" />';
            echo apply_filters( 'cptui_ext_edd_di_display_images', $html, $download_image );
        }
    }

}
add_action( 'template_edd_after_checkout', 'cptuiext_edd_axtra_images' );