Home › Forums › ACF PRO › Problem retrieving image object from a specific page ID › Reply To: Problem retrieving image object from a specific page ID
Basically, you’ll just need to add an image field to any given page, and choose “Image Array” as the output.
Then, in index.php, try to pull in the image object into a variable, passing the ID of the page you’ve chosen as the second parameter.
You should find that it works inconsistently — sometimes returning just the image ID rather than the object.
Here’s a link to a video that shows my particular situation… probably about as clear as mud. 🙂
If you need further detail or code, just let me know.
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!