Hi,
I'm having the same kind of troubles but haven't bothered yet on resolving 
them.

Do you have jpeg decoder installed?
I think that could solve your problems

On Tuesday, December 3, 2013 7:49:40 AM UTC+1, 黄祥 wrote:
>
> hi,
>
> i'm trying to resizing uploaded image file upload using 
> gluon.contrib.imageutils but nothing happens (no error occured and the 
> image didn't resized). 
>
> i'm testing it on windows 7 32 bit using web2py 2.8.2 both source and 
> binary version, python 2.7.6, Pillow-2.2.1.win32-py2.7.
>
> my code is :
> *models/db_wizard_3_product.py*
> from gluon.contrib.imageutils import RESIZE
>
> db.product.image.requires = [IS_IMAGE(), RESIZE(220, 220)]
>
> *controllers/master.py*
> auth.requires_login()(lambda: None)()
> def product():
> grid=SQLFORM.grid(db.product)
> return locals()
>
> what should i do to resizing uploaded image file upload using 
> gluon.contrib.imageutils?
>
> thanks and best regards,
> stifan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to