I’m afraid that we are only able to offer support for the Lite plugin via WordPress forums, and all queries about Pro functionality need to go via our helpdesk.
According to the forum rules, the plugin author couldn’t provide support for premium products. However, as a volunteer, I found a solution that might help you.
After the form has been submitted, you can use the PHP glob() function to check if the wp-content/uploads/formidable directory or its subdirectories have any image thumbnails or scaled versions that have been generated. Then, you can use the PHP unlink() function to delete these generated images.
Note: Keep in mind that this function will delete all image thumbnails and scaled copies from Formidable Forms. Make sure to back up your website before using this feature.
That isn’t the advice I would have offered – and I do believe there is a simpler solution, but if @jemsz opens a ticket in our helpdesk, our team will be happy to help.
Faisal, I’m looking to prevent images duplicating during upload and not post creation. I suspect this might be the reason why the form button will not allow submit for files over 10MB, taking too long ??
Thank you anyway for the suggestion! I’m going to use this anyway
This reply was modified 11 months, 2 weeks ago by jemsz.
I got it now. The Formidable Forms save all post (creation) images in wp-content/uploads/formidable/2, but for form upload media, they are saved in wp-content/uploads/formidable/1.
So if you just add 1 after the /formidable/ on the 4th line, then it will only apply the code to the 1 folder and will allow the post images to have thumbnails.