[ZPT] duplicating file upload object

Kenneth Gonsalves lawgon at thenilgiris.com
Sun Mar 13 23:33:10 EST 2005


hi,
i have a form which, among other things has a 'file' type input to 
upload an image. The image is then escaped and stored in a 
postrgresql database. At the same time, i want to make a thumbnail of 
the image and store that also in the database. I have an external 
script python that takes the input from the file upload object and 
returns the escaped image and the escaped thumbnail. Only it doesn 
work because when the image is retrieved and escaped, the file upload 
object vanishes and there is no input for the thumbnail creating 
function. How do i get around this? 
-- 
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.sourceforge.net
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!


More information about the ZPT mailing list