Input type Image and Video doesn’t working
-
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.
- The topic ‘Input type Image and Video doesn’t working’ is closed to new replies.