acf get image url code example
Example 1: wp+get custom field phpto
<div class="about_photo">
<?php
$value =get_field('about_photo');
echo "<img src='".$value."' width='200px' height='200px'>";
?>
</div>
Example 2: displaying a image background with acf options
<div id="mainPhoto" style="background-image: url(<?php the_field('background_image'); ?>);">
<div id="pageTitle">
<?php the_field('page_title'); ?>
</div>
</div>