1
Vote

ImageField reads stream but does not provide data.

description

In the process of validating the image file the ImageField control will read the filestream into an image but does not provide a way to access the data.

comments

timsavage wrote Jan 21, 2010 at 3:34 AM

Temporary work around is to use a FileUpload control as it does not touch the input stream.

Final solution will involve a file wrapper function. Likely files will be written to disk on upload. Files should not be written to disk unless the form is valid. The clean process should process file upload controls last.

wrote Feb 12, 2013 at 11:09 PM