Image handling improvements
svn: r1289
This commit is contained in:
@ -399,6 +399,7 @@ def birthday(person):
|
||||
|
||||
def thumb_path(dir,mobj):
|
||||
type = mobj.getMimeType()
|
||||
|
||||
if type[0:5] == "image":
|
||||
thumb = "%s/.thumb/%s.jpg" % (dir,mobj.getId())
|
||||
try:
|
||||
|
Reference in New Issue
Block a user