Rank: Member
Groups: Member
Joined: 6/22/2006(UTC) Posts: 3
|
Hi, I'm using the following code to upload resized images but I still want to retain the original filename, is there a way to stop ImageUploader adding the _Thumbnail1.jpg suffix? Code:iu.addParam("UploadSourceFile", "false");
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "1024");
iu.addParam("UploadThumbnail1Height", "1024");
iu.addParam("UploadThumbnail1CopyExif", "true");
Thanks Oliver Edited by user Sunday, February 24, 2008 6:55:34 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello,
You could make any possible name for the thumbnail files in your upload processing script. For example you could get the value of FileName_NN field and use it as a name of NNth thumbnail to be saved with. |
|
|
|
|
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.