Giuseppe Giorgi
Giuseppe Giorgi

Reputation: 11

jQuery-File-Upload blueimp configure

I'm going crazy to use this file upload. I want to upload a file with the ability to upload up to 4 photos. once loaded I should return the name of the photo. how do I set it up? http://blueimp.github.io/jQuery-File-Upload/

Upvotes: 0

Views: 87

Answers (1)

Alaa Badran
Alaa Badran

Reputation: 1858

You should be able to set it up by including all required files and by running the following code:
$('#INPUT_ID').fileupload('option', { url: 'URL_HERE', maxFileSize: 5000000, acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i }); There are more options and methods for more functionality

Upvotes: 1

Related Questions