on row delete works, but on row edit when i change row image or delete
only image, image_thumb stil remains on disk
try setting uploadfolder=request.folder+'static/img_folder' to the
thumbnail field.
I guess web2py will look this to unlink the file.
On Sat, Apr 28, 2012 at 9:06 PM, CtrlSoft wrote:
> uploadfolder=request.folder+'static/img_folder'
>
--
Bruno Rocha
[http://rochacbruno.com.br]
hi i have a resize function wich creates image thumbanils...
def THUMB(image, nx=120, ny=120):
from PIL import Image
import os
try:
img = Image.open(request.folder + 'static/img_folder/' + image)
img.thumbnail((nx,ny), Image.ANTIALIAS)
root,ext = os.path.spl
3 matches
Mail list logo