Home › Forums › Front-end Issues › WordPress 4.4 responsive images › Reply To: WordPress 4.4 responsive images
This isn’t a catch all way — still requires editing your template and potentially your fields. But the real solution is much simpler than the function I was previously using. Use ID as the return type on your images:
<?php echo wp_get_attachment_image(get_sub_field('image'), 'full'); ?>
(h/t Joe McGill for pointing me in the right direction.)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.