--- ImageArchive/ImageArchive.py 2008/08/18 13:27:42 1.105 +++ ImageArchive/ImageArchive.py 2009/01/06 16:13:51 1.107 @@ -326,7 +326,7 @@ class ImageDigilib(Folder,Persistent,Imp def isAccessible(self): """gives true if obejct is accessible taking the rights of the user into account""" - logTemp("isaccessible") + logTime("isaccessible") #TODO: implement rights, currently true if external and false if internal, and true if user has role authenticated username=self.REQUEST['AUTHENTICATED_USER'] @@ -602,6 +602,7 @@ class ImageDigilib(Folder,Persistent,Imp newImagePath=oldNameBase+uploadFileExt f=open(newImagePath,"w") # if we wanted to have filename=id we should do it here! + logging.error("saving:"+newImagePath) f.write(filedata) f.close() try: @@ -615,7 +616,7 @@ class ImageDigilib(Folder,Persistent,Imp #scale standard self.scaleWorkingVersions() - self.scaleToJpg() + #self.scaleToJpg() if _rename: self.renameImage(_fileupload.filename)