Support

Account

Home Forums ACF PRO Problem retrieving image object from a specific page ID Reply To: Problem retrieving image object from a specific page ID

  • @acf-support

    Hi James,

    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. 🙂

    https://dl.dropboxusercontent.com/u/51884620/ACF%20Issue.mp4

    If you need further detail or code, just let me know.

    Thanks!