If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
Commented on:
Complete working example of an image uploader demonstrating manual file uploading in web2py
Hosting graciously provided by:
0
joecodeswell 12 years ago
Hi Yarin,
This is just what i was looking for. I found a small nit however. When i first ran the code, i got an error with a ticket that said:
"UnboundLocalError: local variable 'images' referenced before assignment." referring to the controller statement at line 18 "
"
I put this statement "images = [] # needed this on first go around" just before the if and things seemed to go smoothly.
Thanks again, for a great recipe.
Love and peace,
Joe
replies (1)