Post Update on Front End

Hello !

I am trying to set a ACPT Gallery to be editable in Post Update Proforms But I can’t manage how to set the fields for ACPT Gallery in the new “Initial Files” settings. I am not sure to understand what I may set in the different fields.


^ Here are the fields I managed to set. Is It good ? Is the syntax correct ?


^ Here is the ACPT settings for my Gallery Metafield in Posts.


^ I defined the settings for files like this.

I don’t understand why it doesn’t work. I wasn’t able to find any documentation about this on the bricksforge website about this. Could you please help me ?

I check on this Editing ACF Gallery Images topic by Daveden2 but, as it seems to concern ACF, it is a bit different.

Hey! :slight_smile:

Could you please double-check whether the id parameter is really present in the URL when you’re using the form? And does the post with that ID already have images in the ACPT gallery field?

If the parameter is missing or the gallery is empty, the initial files won’t be loaded correctly.

Let me know if that helps!

Kind regards

Hey! :blush:

Thanks a lot for your help.

I’ve attached a few screenshots to show my current issue — which happens both when creating a post and when updating one via Pro Forms.


:pushpin: What works:

  • The form submits correctly
  • The post is created/updated
  • The update_post_meta action is triggered and returns success
  • The image IDs (ex: [“10852”]) are correctly passed in the request

:pushpin: What doesn’t work:

  • The ACPT gallery field stays empty — no image is saved, even though the value is passed.

Could it be a compatibility issue with ACPT galleries? Or does it require a special handling compared to a normal ACF gallery field?

Thanks again :folded_hands:

I suspect it is because ACPT stores the images as URLs, not IDs, and Bricksforge is passing IDs. I’m just guessing.