I am using jQuery to upload files to server (PHP) and at the server side I process the uploaded files to create image previews (with Nette Framework), then save original files and previews, but it seems to be really slow. Is there a way to create the preview BEFORE file is uploaded and then upload file AND preview at once, instead of processing it on the server side? Thank you