This is a method I found to upload an image (into the uploads folder) and then create the thumbnail in the same directory. One good point is that Web2py allocates the filenames so everything can have authorization etc. It requires the Python Image Library installed.
0
write2ariya 12 years ago
Dear David
This is very useful. I use you code in my project. Thank you for your contribution & sharing.
(just wanna thanks, I will payback web2py community someway)
Ariya