OK, sorted this.
I still don’t see a way of doing this via the API without using the third-party plugin which seems to be unmaintained. Am I missing something? Is this something in development?
I have used advancedcustomfields.com/resources/update_field/ and this seems to give me what I need for now. I redirect to my new “Session” and add the ID of the parent “Project” to the URL (EG: ?parent=67) and use GET to pass this to the update_field function.
Cheers
Rob
Hey @jeff_aka_jefe – I kind of sorted it. I actually added a support ticket and we went through lots of things!
I think my issue is/was… very large images being uploaded and the site running out of memory before they were fully processed which caused issues for ACF pulling them back.
Probably. I think. 😀
Ah, is this the correct forum for this? 🤞🏼
Hey @hube2 – I’m using a JSON API for WP. It generates a JSON object of a post, including all custom fields.
Ref : https://wordpress.org/plugins/json-api/
Anyway, I should have updated my answer to say I managed to use the IDs to navigate back up the attachment array and get the images that way (which is probably the way you would suggest?)
Thanks 🙂
Rob