Home › Forums › General Issues › Filtering image size when getting image from taxonomy term › Reply To: Filtering image size when getting image from taxonomy term
Hi @juxprose
To obtain a custom image size, you must select the ‘Image ID’ return value setting. You need the ID to load a custom size via the wp_get_attachment_image_src function.
You can also use the ‘Image Object’ return type to get an array containing all the image data including all the ‘sizes’.
Thanks
E
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.