i-e-b / jQueryFileUpload.Net

[Out of Date] .Net handler for http://aquantum-demo.appspot.com/file-upload
68 stars 54 forks source link

Design #18

Closed MohammadHatami20 closed 10 years ago

MohammadHatami20 commented 10 years ago

HI i have 2 qus 1-how can change .net example to load only image files and if open another files like text show error and not load it

2-how can show image of file next the name هسفثشی خب یثبعمف (defualt state:for all file show "default_thumb.jpg"

MohammadHatami20 commented 10 years ago

هسفثشی خب یثبعمف=instead of defualt

i-e-b commented 10 years ago
  1. A filter on both the client and server side should be implemented. For the server side, see UploadFile() in FileTransferHandler.ashx.cs; For a basic filter, read the headers["X-File-Name"] and filter on extension.
  2. This would be in the Javascript templates, which are not part of this repo -- please direct your question to the jQueryFileUpload community.