I tried that but the cffile said the file was not present. I believe the 
file is Binary and without the <input type="file"> command it will not 
work.. But hey if you have an idea I am willing to hear it?



At 04:44 PM 5/14/2002 -0700, you wrote:
>why are you trying to load them in a file field??
>
>If you have the tag just do a <cfdirectory> of your images folder and run
>the tag on each of the images in that folder.
>
>+-----------------------------------------------+
>Bryan Love
>   Macromedia Certified Professional
>   Internet Application Developer
>   Database Analyst
>Telecommunication Systems
>[EMAIL PROTECTED]
>+-----------------------------------------------+
>
>"...'If there must be trouble, let it be in my day, that my child may have
>peace'..."
>         - Thomas Paine, The American Crisis
>
>
>
>-----Original Message-----
>From: Steven A. del Sol [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, May 14, 2002 12:21 PM
>To: CF-Talk
>Subject: Fwd: CFX_IMG, AUTORESIZE, and personal photo DB with 3000
>original photos.
>
>
> >Date: Tue, 14 May 2002 10:56:34 -0700
> >To: [EMAIL PROTECTED]
> >From: "Steven A. del Sol" <[EMAIL PROTECTED]>
> >Subject: CFX_IMG, AUTORESIZE, and personal photo DB with 3000 original
>photos.
> >
> >Ok, here is what I am trying to do.  I would like to batch process all
> >3000 of my photos using this CFX tag.  The tag works great
> >individually.  Here is my situation.  To batch process I need CF to load
> >the images in the <input type=file> but I can not get it to work.  I
> >changed my server address and website see if you can help me figure this
> >one out.  here is the code I am using.. the tags can be found at
> >CFDEV.com.  THANKS
> >
> >
> >
> >
> >
> >
> ><!--- <cfif IsDefined("action")><cfoutput>#url.nextone#</cfoutput>
> ><cfquery datasource="#application.db#" name="goodluck">select * from photo
> >where photoid=1451</cfquery>
> >         <cfset imagepath="c:\serverloc\">
> >         <cfset thumbpath="c:\serverloc\">
> >         <cfset imagedir="http://yourweb";>
> >         <cfset thumbdir="http://yourweb"";>
> >
> >                 <!---Call CF_AutoResize --->
> >                 <cf_autoresize imagepath="#imagepath#" maxsize="200"
> > thumbsize="80" prefix="tn" goof="#goodluck.photo#" filefield="form.photo"
> > thumbpath="#thumbpath#" nameconflict="overwrite">
> >                 <!---Outputs the variables #photo# and #thumbnail#--->
> >                 <cfquery name=addphoto datasource=#application.db#>
> >                 UPDATE     photo
> >SET             cdphoto='#photo#', thumbnail='#thumbnail#'
> >WHERE       (PHOTOID = 1451)
> >                 </cfquery>
> >
> >
> >
> >
> >
> ><cfelse>
> ><cfparam name="url.nextone" default="1451">
> ><cfquery datasource="#application.db#" name="goodluck">select * from photo
> >where photoid=#url.nextone#</cfquery>
> ><cfoutput>
> ><cfset nextone = #goodluck.photoid#+1>
> ><form action="batchphotos.cfm?action=submit&nextone=#nextone#" method=post
> >enctype="multipart/form-data" name="bozo">
> ><input type="file" name="photo"
>accept="image/gif,image/jpeg,image/x-MS-bmp">
> >         <input type=hidden name=checker><input type=submit name=bozo
> > value="Submit"></form></cfoutput>
> >
> ><!---
> ><body onload="document.bozo.submit();"></body> --->
> ></cfif> --->
>
>Steven A. del Sol
>NETPACQ Internet Systems
>858.541.0222 - [EMAIL PROTECTED]
>http://www.NETPACQ.com
>
>
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to