version 1.20, 2004/03/20 10:46:52
|
version 1.21, 2004/03/31 19:14:17
|
Line 83 class ImageDigilib(Folder,Persistent,Imp
|
Line 83 class ImageDigilib(Folder,Persistent,Imp
|
|
|
def download(self): |
def download(self): |
"""download""" |
"""download""" |
path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+self.filename+"&mo=rawfile,highres" |
path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+self.filename+"&mo=rawfile,hires" |
#self.REQUEST.SESSION['string']="<img src=\"%s\">"% path |
#self.REQUEST.SESSION['string']="<img src=\"%s\">"% path |
#pt=PageTemplateFile('Products/ImageArchive/thumb.zpt').__of__(self) |
#pt=PageTemplateFile('Products/ImageArchive/thumb.zpt').__of__(self) |
return self.REQUEST.RESPONSE.redirect(path) |
return self.REQUEST.RESPONSE.redirect(path) |
Line 110 class ImageDigilib(Folder,Persistent,Imp
|
Line 110 class ImageDigilib(Folder,Persistent,Imp
|
"""show image""" |
"""show image""" |
#DEVELOP: take first one for server |
#DEVELOP: take first one for server |
|
|
path="http://nausikaa2.rz-berlin.mpg.de:18080/digitallibrary/digilib.jsp?lv=1&fn="+self.ImageViewerPath+"/"+self.filename |
path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/digilib.jsp?lv=2&fn="+self.ImageViewerPath+"/"+self.filename |
|
|
#path="http://localhost:8080/mpiwg/online/"+self.ImageViewerPath+"/"+self.filename |
#path="http://localhost:8080/mpiwg/online/"+self.ImageViewerPath+"/"+self.filename |
#self.REQUEST.SESSION['string']="<img src=\"%s\">"% path |
#self.REQUEST.SESSION['string']="<img src=\"%s\">"% path |