Home › Forums › General Issues › get_post_meta doesn't work with images › Reply To: get_post_meta doesn't work with images
It depends on what you’re trying to get. ACF stores the attachment ID for an image field. If you need to switch from get_field() to get_post_meta() then you’ll need to do any formatting that ACF was doing on your own using functions like https://developer.wordpress.org/reference/hooks/wp_get_attachment_image_src/
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.