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?
|
|
|
|
Rank: Advanced Member
Groups: Member
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 |
|
|
|
|
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?
|
|
|
|
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...
|
|
|
|
Rank: Advanced Member
Groups: Member
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. |
|
|
|
|
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.