Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
paul  
#1 Posted : Thursday, February 19, 2004 9:50:00 PM(UTC)
paul

Rank: Member

Groups: Member
Joined: 12/16/2003(UTC)
Posts: 13

I wander if there is a simple way to do that.
If I'm not wrong, I think there is no such a limit in Image Uploader 1.x, right ?

I think it is feasable in the redirected URL in the section :

Code:
//process received files
for($i=1;$i<=$ImageCount;$i++)
{
...


Maybe I can add a test before :
Code:
if ($ImageCount < $Max_allowed_number) {
//process received files
for($i=1;$i<=$ImageCount;$i++)
{
...



Any idea ? :-O

Paul

Edited by user Thursday, December 20, 2007 7:05:47 PM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Monday, February 23, 2004 1:57:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Image Uploader 1.x contains undocumented property MaxFileNumber. If you specify it to non-null, it will not allow to select more files than specified by this property. So you can just add:



and Image Uploader will be able to send only 10 files per time.
Fedor  
#3 Posted : Monday, February 23, 2004 6:12:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Sure, in addition to client-side checking of image count, you should always check it on server-side too.
Best regards,
Fedor Skvortsov
Fedor  
#4 Posted : Tuesday, March 30, 2004 9:04:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
In Image Uploader 2.0 this property was renamed to MaxFileCount.

Edited by user Tuesday, February 26, 2008 2:42:45 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Sebacorp  
#5 Posted : Monday, April 5, 2004 10:55:00 PM(UTC)
Sebacorp

Rank: Member

Groups: Member
Joined: 3/25/2004(UTC)
Posts: 2

Hi,


...I was very happy when I found this usefull hidden parameter, but unfortunatelly it not works... :'( I'm using ver1.0

Sebacorp
Fedor  
#6 Posted : Monday, April 5, 2004 11:02:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hello,

Please try to upgrade to Image Uploader 2.0.

You can use MaxFileCount property with it.

Edited by user Tuesday, February 26, 2008 2:43:15 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.