Hey David, with pleasure. Thanks!
I use 10 File Upload fields named Image 1 to 10. I merge these image in a Post Body like this: http://pastie.org/7748108. Also got some code in my functions.php which handles file size check etc like this: http://pastie.org/7748124. Form ID 19 allows 10 images max per upload and here it goes randomly wrong. Form ID 20 let people upload 1 images and also goes wrong.
Example what goes wrong: I have people uploading work with max 10 images per submission. The conformation mail and post created by Gravity is showing mixed up images. It is really easy to see because one person uploaded photographs and it shows 3 illustrations in the post. That's not right :) Another strange thing is if I look at the file names, they all match the file name format and can't see anything weird in that, it looks like it is only messing up the actual images itself. And to make it complete, it is not happening all the time, just randomly things screw up. The uploaded original filename is 225012_213310422031777_8062927_n.jpg, and the file which got mixed up with is 946985_538313472874320_193172796_n.jpg. Both files look the same, can't figure out what it original image looked like. Maybe some process which handles the copying hangs?
I always cleanup entries on a regular base to keep my server clean and if an image name already exists, it changes the name like Wordpress does, so I don't see any problem here.
Hope this input helps.
Posted 10 years ago on Wednesday May 1, 2013 | Permalink