Clean up preview images on upload errors (bug 1051854)
Merge pull request #385 from davidbgk/1051854-delete-previews-errors

Clean up preview images on upload errors (bug 1051854)