Consider using this slice instead :

http://www.web2pyslices.com/slice/show/1666/improved-smarthumb

I can help you trouble shoot and integrate in your app...

I am the one who refactor smartthumb and set a threshold to make sure it
generate proper resized with good quality thumbnails...

:)

Richard


On Sun, Aug 4, 2013 at 7:13 PM, Michael Gheith <[email protected]> wrote:

> Hello web2py community!
>
> I used to be able to use the following web2py slice successfully in the
> past (about a year ago):
>
> http://www.web2pyslices.com/slice/show/1387/upload-image-and-make-a-thumbnail
>
> Now it's not working with the latest build of web2py.  Is anyone able to
> successfully get this slice working with the latest web2py build?
>
> The code is successfully creating the thumbnail and storing it in the
> uploads folder.  I can physically see it on the file system.  But I get a
> ticket whenever I try to access the thumbnail through the DB admin or
> through the URL bar:
> <type 'exceptions.TypeError'> Can't retrieve
> uploads.thumb.16e0d9fd-bc66-4b36-9c75-03aaea1d8603.PNG
>
> I don't think there is anything wrong with what I am doing.  I think the
> problem resides in the slice and web2py breaking backward compatibility...
>  Please provide guidance, thanks!
>
> --
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to