CakePHP-AjaxMultiUpload icon indicating copy to clipboard operation
CakePHP-AjaxMultiUpload copied to clipboard

Ability to limit file upload

Open rajeshkw opened this issue 11 years ago • 7 comments

Is there any way to work around restricting number of file uploads in one time?

rajeshkw avatar Oct 20 '13 14:10 rajeshkw

There shouldn't really be a restriction - what sort of restriction are you seeing?

srs81 avatar Oct 23 '13 19:10 srs81

In my case, my users upload images to a gallery of a particular event, im using this plugin for the functionality. Now there should not be unlimited uploads here, thats why i was looking for limiting number of files uploaded..eg. 10 images for one event likewise. Please help if any possilibility.

rajeshkw avatar Oct 23 '13 20:10 rajeshkw

I see. Can you limit that in the backend? Or do you want to restrict that in the front-end plugin?

srs81 avatar Oct 23 '13 20:10 srs81

see there is drag and drop functionality you provided. It just starts uploading irrespective of number of files...it just supports unlimited uploads as just when one uploads a file it gets stored....hence i believe there has to be a limit from client side...please help...i would be happy if it can be done from either client or server side.

rajeshkw avatar Oct 24 '13 11:10 rajeshkw

Right, I see. You might need to edit the Javascript file that comes with this though ... are you able to do that?

srs81 avatar Jan 13 '14 20:01 srs81

well yes...i managed that. thanks for your work.I appreciate from the core.

On Tue, Jan 14, 2014 at 2:25 AM, Suman [email protected] wrote:

Right, I see. You might need to edit the Javascript file that comes with this though ... are you able to do that?

— Reply to this email directly or view it on GitHubhttps://github.com/srs81/CakePHP-AjaxMultiUpload/issues/39#issuecomment-32210404 .

rajeshkw avatar Jan 14 '14 16:01 rajeshkw

I have the same problem, but in my case, the limit of image, depends of the place of my site. eg.: 10 images to the albuns 1 image to the profile

I'm lost...

rodrigobert avatar May 13 '14 19:05 rodrigobert