Awesome, that worked! Thank you!
Just one or two more questions and I swear I’ll be done with this.
If I had more than one image field how would I go about inserting that?
For instance at the moment I have:
$image = get_field('advertisement_desktop');
But I also have this field that I want to include
$image = get_field('advertisement_mobile');
I also need a way to display one or the other depending on breakpoint. Which I was going to do with CSS. Is there a simple way to output these in separate divs classes?