Re: [web2py] Error PIL path

2019-07-19 Thread Márcio Luis Dresch
#this is a copy from http://www.web2pyslices.com/slice/show/1522/generate-a-thumbnail-that-fits-in-a-box #modules\smarthumb.py from gluon import current import os try: from PIL import Image except: import Image def SMARTHUMB(image, box, fit=True, name="thumb"): '''Downsample the image. @param

[web2py] Error PIL path

2019-07-01 Thread Márcio Luis Dresch
Hi, I'm new to web2py and am looking for a solution to a problem. The library is returning a path error while fetching an image for the thumbnail. I took the example from: http://www.web2pyslices.com/slice/show/1522/generate-a-thumbnail-that-fits-in-a-box, which returns File "C: \ Users \