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

Notification

Icon
Error

Options
Go to last post Go to first unread
luker  
#1 Posted : Sunday, May 6, 2007 10:26:04 AM(UTC)
luker

Rank: Member

Groups: Member
Joined: 5/6/2007(UTC)
Posts: 9

I really like this bad boy, but I need it to be able to do a few things...

1) How can it only upload up to 6 images at a time?

2) Can I limit the size of each uploaded file to less than 80KB?

3) Can I convert any uploads to jpg?

4) Also, with these uploads, can they be renamed

4) Id like to be able to upload to a specific directory?

5) Lastly how do I capture the name of the uploaded file?

Alex Makhov  
#2 Posted : Sunday, May 6, 2007 2:16:19 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

First of all please check Image Uploader documentation.

There you will find the following answers for your questions:

Quote:
1) How can it only upload up to 6 images at a time?

see MaxFileCount Property description;

Quote:
2) Can I limit the size of each uploaded file to less than 80KB?

see MaxFileSize Property description;

Quote:
3) Can I convert any uploads to jpg?

Yes, just send the thumbnails for all your files (see UploadThumbnail1FitMode Property description and so on);

Quote:
4) Also, with these uploads, can they be renamed

Yes, change the upload processing script for it;

Quote:
4) Id like to be able to upload to a specific directory?

Yes, change the upload processing script for it;

Quote:
5) Lastly how do I capture the name of the uploaded file?

See the POST Field Reference, especially the FileName_N field description.

Edited by user Wednesday, October 29, 2008 3:15:24 AM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

luker  
#3 Posted : Monday, May 7, 2007 3:12:02 AM(UTC)
luker

Rank: Member

Groups: Member
Joined: 5/6/2007(UTC)
Posts: 9

You guys are great, I'm gonna get this bad boy for my site, I have the evaluation version.

Is that ok?

luker  
#4 Posted : Monday, May 7, 2007 3:30:45 AM(UTC)
luker

Rank: Member

Groups: Member
Joined: 5/6/2007(UTC)
Posts: 9

A few more more things. I gather I can use this property to get the name of the 6 uploaded files (FileName_1-6). Is it ok if in my file handler script I use the PHP functions (copy_uploaded_file(), and move_uploaded_file()) or is that not necessary?

Lastly (sorry, I got confused) But lets say A member of my site tries to upload an image of type (.bmp) I really dont care about uploading thumbnails. But how can I convert that file format to (.jpg) so that only that is uploaded?

Thanks again...

Alex Makhov  
#5 Posted : Monday, May 7, 2007 2:10:05 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Original files which are sent as a SourceFile are never converted to anything. So if you want JPEGs, you should disable SourceFile sending (UploadSourceFile=false) and enable one or several thumbnails to be uploaded.

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
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.