What if two requests come in at the same time and they overwrite the thumbnail.jpg file ? Would there be a conflict or does PIL store the image in memory anyways?
Also, web2py hashes the filename, so wouldn't it get overwritten if you had multiple thumbnail.jpg of the same size ? -Thadeus On Mon, Feb 22, 2010 at 10:18 AM, villas <[email protected]> wrote: > Hi Lukasz, > I made a web2pyslice from the code I eventually used, which I think > was rather similar to that which you proposed. > http://www.web2pyslices.com/main/slices/take_slice/62 > If you think that 'slice' can be improved, please let me know. > I don't believe this solution would work on GAE, so I might try and > add a section about that, if and when I get the time. > Thanks. > --David > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

