version 1.105, 2008/08/18 13:27:42
|
version 1.106, 2009/01/06 16:07:10
|
Line 602 class ImageDigilib(Folder,Persistent,Imp
|
Line 602 class ImageDigilib(Folder,Persistent,Imp
|
newImagePath=oldNameBase+uploadFileExt |
newImagePath=oldNameBase+uploadFileExt |
|
|
f=open(newImagePath,"w") # if we wanted to have filename=id we should do it here! |
f=open(newImagePath,"w") # if we wanted to have filename=id we should do it here! |
|
logging.error("saving:"+newImagePath) |
f.write(filedata) |
f.write(filedata) |
f.close() |
f.close() |
try: |
try: |
Line 615 class ImageDigilib(Folder,Persistent,Imp
|
Line 616 class ImageDigilib(Folder,Persistent,Imp
|
#scale standard |
#scale standard |
|
|
self.scaleWorkingVersions() |
self.scaleWorkingVersions() |
self.scaleToJpg() |
#self.scaleToJpg() |
if _rename: |
if _rename: |
self.renameImage(_fileupload.filename) |
self.renameImage(_fileupload.filename) |
|
|