acf get image url show different image size code example
Example: 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>