[web2py] thumbnails plugin updated

2015-06-26 Thread Carlos Cesar Caballero Díaz
://github.com/cccaballero/web2py-thumbnails In the next updates I will work to use the plugin manager. Cheers. -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que

Re: [web2py] Thumbnails

2015-04-14 Thread Gael Princivalle
.. yes two years later as making thumbnails still useful!! Thanks Niphlod, I'll do it with path.join call. Anyway the error was in the path, static/uploads instead of uploads. Il giorno martedì 14 aprile 2015 16:56:00 UTC+2, Niphlod ha scritto: 2 years later ?! for starters, PLEASE don't

Re: [web2py] Thumbnails

2015-04-14 Thread Gael Princivalle
Hi. If I click on the file link I obtain:

Re: [web2py] Thumbnails

2015-04-14 Thread Niphlod
2 years later ?! for starters, PLEASE don't concatenate paths as strings and use a proper os.path.join call On Tuesday, April 14, 2015 at 4:53:14 PM UTC+2, Gael Princivalle wrote: Hi. If I click on the file link I obtain:

Re: [web2py] thumbnails plugin

2014-05-15 Thread Carlos Cesar Caballero Díaz
Hi, I uploaded it to github (https://github.com/cccaballero/web2py-thumbnails), there are sources and some instructions. -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud

[web2py] thumbnails plugin

2014-05-09 Thread Carlos Cesar Caballero Díaz
Hi, this is a first aproach of a thumbnails plugin, needs PIL to work. Any recomendations will be apreciated (I don't like so much what I am doing with the database) -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de

[web2py] thumbnails plugin

2014-05-09 Thread Carlos A. Armenta Castro
I'll try it, it was ir looking For. -- 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

Re: [web2py] Thumbnails

2012-02-29 Thread pbreit
I like the module approach. I just put the function in my model file like this: db.item.image_thumb.compute = lambda r: resize_image(r['image'], (150,130), 'thumb') db.item.image_display.compute = lambda r: resize_image(r['image'], (320,320), 'display') def resize_image(image, size, path,

Re: [web2py] Thumbnails

2012-02-29 Thread pbreit
Oops, make sure to import PIL: from PIL import Image

[web2py] Thumbnails

2012-02-28 Thread Ivan Vilches Basaul
Any way for automatic thumbnails creation? Thanks Ivan Vilches Basaul

Re: [web2py] Thumbnails

2012-02-28 Thread Bruno Rocha
I do it using the compute attribute, take a look: http://movu.ca/demo/article/show/36/creating-thumbnails-with-web2py On Tue, Feb 28, 2012 at 3:32 PM, Ivan Vilches Basaul ivan_vilc...@hotmail.com wrote: Any way for automatic thumbnails creation? Thanks Ivan Vilches Basaul -- Bruno