View Single Post
Old June 24th, 2017, 03:48 PM   #13
retroanalyst
in memoriam Max
 
retroanalyst's Avatar
 
Join Date: Jun 2009
Location: Germany
Posts: 3,586
Thanks: 121,979
Thanked 47,461 Times in 3,337 Posts
retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+retroanalyst 175000+
Default

Quote:
Originally Posted by herkalurk View Post
In regards to the limit - it looks like the context is in relation to a zip upload?
It's through a file selection dialog on the "Classic Upload" page, they use this input box for it.

Code:
<input type="file" name="img[]" accept="image/gif,image/png,image/jpeg" multiple>
Probably won't affect uploads through the API since those will loop over the files.

Quote:
Also, I don't like the fact that they could increase the size of the gallery hash from 5 - whatever number of characters. It means I have to modify my code to accommodate later because they didn't just use a larger number now.
I don't follow. The gallery hash is a string, why would you care how long it is?
__________________
Genius may have its limitations, but stupidity is not thus handicapped.

Last edited by retroanalyst; June 26th, 2017 at 03:34 PM.. Reason: fix quote
retroanalyst is offline   Reply With Quote
The Following 2 Users Say Thank You to retroanalyst For This Useful Post: