Search Results for

    Show / Hide Table of Contents

    the_iv_image_url()

    Overview

    Use this function to output the Imagevault media url for a specific Imagevault media field.

    Parameters

    the_iv_image_url($field_object);

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

    Return

    Nothing

    Usage

    Example: Set an Imagevault media as background for a DIV

    <div style="background-image: url(<?php the_iv_image_url( get_field_object( 'theme-image-6', 'option' ) ); ?>)">
    
    In This Article
    Back to top (c) Meriworks 2002-2022