• Resolved Heliton Afonso Gonçalves

    (@helitonafonso)


    Hello everything is fine?

    Thanks a lot for the plugin. It is of vast use to the WordPress community.

    But I believe you have found a flaw.

    I have a form created by “Contact Form 7” associated with the plugin “Post My CF7 Form” that when the submit is done, the data is mapped and sent to the appropriate fields in a custom post configured with “Advanced Custom Fields (ACF) ” for the same. In this form I have text, video and image fields (for image and video fields I use the HTML input file). In ACF, I have fields for Images of type Image and for Video of type File. But what happens is that when submitting the form, I see that the documents have gone to the upload folder, but in the backend the image fields do not display the appropriate photos (only the highlighted photo is shown) and also do not display the video. But I did a test by changing the format of the Image type field (for the image gallery) to the URL type and the File type (for the video) to oEmbed type and it loaded the correct address of the directory that was uploaded.

    In short: When I have the ACF with Image or File type fields sent from the form, it doesn’t show any information on the backend, but if it’s Text type the URL is displayed.

    Am I doing something wrong or is there some additional configuration I have to do so that the form submitted image loads correctly in the Image Type ACF in the backend?

    Thank you for your attention and have an excellent week.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Heliton Afonso Gonçalves

    (@helitonafonso)

    Additional Information: I am using WordPress 6.2.1

    Thread Starter Heliton Afonso Gonçalves

    (@helitonafonso)

    Another detail to note is that even with the image uploaded to the server, it is not registered in the WordPress Media gallery.

    The strange thing is that no error log is recorded, even with this option enabled on the server.

    Plugin Support ACF Support

    (@acfsupport)

    Hi there!

    ACF Support Team here. This forum is generally used by ACF users to help each other out.

    However, we would love to continue investigating and troubleshooting this issue, please can you create a ticket using our ​support form and we can look into it further.

    Thread Starter Heliton Afonso Gonçalves

    (@helitonafonso)

    Hello @acfsupport ,

    I will open the ticket.

    Gratitude for the return

    Hello, we have exactly the same issue, would it be possible to know how you resolved the issue ? Thank you in advance

    @lemaleh2a please start your own tread, this is forum policy.
    @helitonafonso for your information, the ACF plugin has its own format of storing file uploads, possibly as attachment IDs, although I am not sure as I have never used it.
    The Post My CF7 Form stores file attachments as URLs to the media upload folder file, except when a file field is mapped to a post thumbnail.

    You can change the format of the stored value by using the custom filter hook provided for each field mapping and ensure it is compatible with the ACF plugin’s expected value format.

    Plugin Support ACF Support

    (@acfsupport)

    Hi @lemaleh2a,

    ACF Support Team here.

    If you’re still facing this issue, kindly write to us using our ​support form and we’ll be happy to investigate.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Input type Image and Video doesn’t working’ is closed to new replies.