Value getting from option tree(Theme option) in wordpress

<?php

if ( function_exists( ‘ot_get_option’ ) && $input_value = ot_get_option( ‘single_image’ ) ) // name of field

 

{ ?>

<div class=”singleimage”>

<img src=”<?php echo $input_value; ?>” alt=”single image”>

</div>
<?php } ?>