How to populate a Meta Box Image advanced with PRO Forms?

Hi,

I’m using Pro Form file element and Meta Box.

I want to populate an Image advanced custom field that I use to make a Gallery.
The form Creates a New Post and Update Post Meta so the gallery can be filled.

My problem is that when I upload the pictures, they are stored in an array with the URL, but MB expects the picture ID, so they are not showing in the Gallery.

This one is when filled by the form

This one was filled manually

If I pick default as the Source it creates nested array so it’s not working either

Not sure if this is a bug, I need to use a filter or dynamic tag (I saw David Denedo using them with ACF), convert the URL to the ID with custom PHP before it gets stored in MB…

Any hint? Thanks in advance!

Same here… not working after all. Nor did the initial-files option for MB. Lost days in the process of getting Pro Forms to work as a gallery editor, tried several options (custom meta field, Metabox custom field and many more).
I don’t think there will be any solid solution to get it working anywhere soon. That’s what Bricksforge is missing: Proper documentation and solid testing.

1 Like