Link to home
Start Free TrialLog in
Avatar of pigmentarts
pigmentartsFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Alagad Image Componet

i can not get Alagad Image Componet to read a file to upload path... any ideas? am i using it correctly?



upload form

<cfform action="add-images.cfm" enctype="multipart/form-data" method="post" class="formStyle1">
  <cfinput type="File" name="file1" /><br />
<input type="Submit" name="upload" value="upload">
</cfform>




read code

<!--- open the image to resize --->
<cfset myImage.readImage(file1) />


error

Element FILE1 is undefined in FORM.
The error occurred on line 39.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Maurer
Andrew Maurer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pigmentarts

ASKER

hi thanks, just found out that i need to upload the file first before i can do anything with it, its a shame becuase i wanted to resize the file before it was put on the server not the other way around :(