FYI: Replaced spaces with underscores. Worked fine.

Thanks

Steve

-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 9:38 AM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: File Name


Thanks for the corrections for inserting characters into a file name. Didn't
know shorthand wouldn't work in that situation.

Have another problem. Jason Pamental had given me a tcf to identify and
resize images using ImageMagick.

I use the following to retrieve a file and file name from the local computer
to write on my web server.
 
<script language="javascript">
<!--
function CopyFileName(form)
{
        form.HiddenName1.value = form.P_Image.value;
        form.HiddenName2.value = form.P_Thumbnail.value;
}
// -->
</script>
                <INPUT TYPE=FILE SIZE=34 NAME="P_Image" ACCEPT="IMAGE/*">
                <INPUT TYPE="HIDDEN" NAME="HiddenName1">

Then use <@WEBROOT>@@User$ImageLocation/@@LOCAL$Image and <@ARG P_Image> in
a write action to write the file.

Then call the tcf with the same file location
<@WEBROOT>@@User$ImageLocation/@@LOCAL$Image to identify and adjust
dimensions. The tcf uses a bat file to call ImageMagick to massage the file.
Works fine when there are no spaces in the file name. Can't find it when
there are spaces in the file name.

Any suggestions?

Steve Fogelson
Internet Commerce Solutions
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to