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

Notification

Icon
Error

Options
Go to last post Go to first unread
jgibbs  
#1 Posted : Monday, October 13, 2008 11:39:20 PM(UTC)
jgibbs

Rank: Advanced Member

Groups: Member
Joined: 9/22/2008(UTC)
Posts: 39

Is there a way, when uploading multiple images with a FilesPerPackageCount = 1 to grab the current number of the thumbnail being uploaded within the upload.aspx script?

For example, if I have 3 images being uploaded, is there a way for my upload.aspx script to know that it's the 1st image being uploaded, or the second one, or the third?

Or, is there some sort of unique ID being passed with each image from the ImageUploader tool itself that is being uploaded that I could read?
jgibbs  
#2 Posted : Monday, October 13, 2008 11:52:18 PM(UTC)
jgibbs

Rank: Advanced Member

Groups: Member
Joined: 9/22/2008(UTC)
Posts: 39

It looks like PackageIndex generates a unique number...is that correct?
Fedor  
#3 Posted : Tuesday, October 14, 2008 10:56:40 AM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 64 time(s) in 63 post(s)
Hello,

First of all please see POST Field Reference

In short:

Quote:
Is there a way, when uploading multiple images with a FilesPerPackageCount = 1 to grab the current number of the thumbnail being uploaded within the upload.aspx script?


You can do it using PackageCount field.

Quote:
It looks like PackageIndex generates a unique number...is that correct?


It is zero-based index of the package.

Edited by user Wednesday, October 29, 2008 3:20:36 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.