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

Notification

Icon
Error

Options
Go to last post Go to first unread
Oliver  
#1 Posted : Monday, October 8, 2007 9:07:29 PM(UTC)
Oliver

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

Alex Makhov  
#2 Posted : Tuesday, October 9, 2007 7:04:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
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.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
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.