Search Results for

    Show / Hide Table of Contents

    render_iv_image()

    Overview

    Use this function to get ready-to-use HTML for a specific Imagevault media field.

    Parameters

    render_iv_image($field_object);

    • $field_object (array) (Required) The ACF field object

    Return

    This function returns HTML as a string

    Usage

    Example: Fetch the field object, render the HTML tag and use it...

    <?php 
        $field_object = get_field_object('banner_image', $postID);
    
        $field_html = render_iv_image($field_object);
    
        echo $field_html;
    ?>
    
    In This Article
    Back to top (c) Meriworks 2002-2022