CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
@chrisburton Thanks a bunch bud!!!!! I saw that SE question last night, but obviously I was too tired to process.
This seems to work:
$attachment_id = get_sub_field(‘background_photo’);
$image_attributes = wp_get_attachment_image_src( $attachment_id, $size );
Awesome. Glad you solved it.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed