Alberto, I confess, I have no idea how to make PIL work on TG.
I first tried using your code, in which it said that Image was not
found. So I went to the PIL website and downloaded and installed
1.1.5. Then it says AttributeError: type object 'Image' has no
attribute 'open'
I even tried doing:
import PIL
...
PIL.Image.open("...")
In which, it said that PIL doesn't have attribute "Image".
Any ideas how to make this work?
By the way, I do remember one thing that I modified from the
tutorial... during database creation, it says to create a column:
image = BLOBCol(notNone = True)
But in MySQL, this produces a tinyBLOB, so I changed it to the
following to get a mediumBlob:
image = BLOBCol(length=2**16, varchar=False, notNone = True)
I didn't think this should cause any errors though... perhaps I'm wrong
Frank
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---