Rank: Member
Groups: Member
Joined: 5/12/2004(UTC) Posts: 49
|
I'm using your Cold Fusion sample with the uploader. When a file is uploaded, the script rename it to "filename.jpg" but the problem is as follow: Example 1: original file: picture2.gif uploaded file: picture2.gif.jpg Example 2: original file: picture1.jpg uploaded file: picture1.jpg.jpg Please, can you tell me how I can fix this "file name" problem. Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
As far as I understand, you upload a thumbnails, not an original file. As thumbnails are always compressed to JPEG format, .jpg extension is always appended. This way it is behaviour by design.
|
|
|
|
Rank: Member
Groups: Member
Joined: 5/12/2004(UTC) Posts: 49
|
Is there a way, so I can only take the file name without the extention (photo1) so I dont get the 2 extensions, like: photo1.jpg.jpg or photo2.gif.jpg thanks
|
|
|
|
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.