Archived from the Transloadit support forum. Originally posted on November 22, 2011; details may be outdated, see our docs for current behavior. Original thread
I’m curious if it’s possible to prevent empty uploads with the jQuery plugin. If a file field has no file selected, why is it attempting to upload and process an empty file to Transload.it? In my app, when a user edits a resource but chooses not to change the attached image then an empty file is uploaded and ends up replacing the existing image. Obviously, I could handle this empty result on my backend, but I’d rather just get to the root and have the form submitted without any transloadit interaction when it’s unnecessary.