XML improvements, photo handling better (no thumbnail for main edit personapage p

svn: r266
This commit is contained in:
Don Allingham
2001-07-29 23:27:42 +00:00
parent 100e719d5a
commit 9af7a17146
6 changed files with 121 additions and 64 deletions

View File

@@ -128,6 +128,7 @@ def mk_thumb(source,dest,size):
os.system(cmd)
else:
try:
print "Creating thumbnail",dest,"from",source
im = PIL.Image.open(source)
im.thumbnail((size,size))
im.save(dest,"JPEG")