-
Notifications
You must be signed in to change notification settings - Fork 13
Description
I forked a plugin for the first time in my life.
No I have no idea how to make a plugin, I make themes.
But here is what I changed, although maybe you can just add a filter
The fielupload on a regular form is saved to the library and its attachment id is saved to the custom field instead of a url.
Then when post updates is called on a form it updates fileuploads with the image from the attachment id.
Lastly if you want to use fileuploads to save to a post image you can add class "thumb" to that fileupload field in the form editor.
fileupload seems much better than post image, as it allows for more settings and max size and types of extensions and sutff…
I made the plugin with pods in mind, but I think it might work with ACF too. Not sure though.
https://github.com/saltnpixels/gravity-forms-post-updates-pods