version 1.19, 2004/03/15 17:11:43
|
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 |
Line 661 def manage_AddImageCollection(self,id,ti
|
Line 661 def manage_AddImageCollection(self,id,ti
|
|
|
|
|
class ImageCollectionIFrame(ImageCollection): |
class ImageCollectionIFrame(ImageCollection): |
"""Class für Collection set als IFrame""" |
"""Class fuer Collection set als IFrame""" |
|
|
meta_type="ImageCollectionIFrame" |
meta_type="ImageCollectionIFrame" |
label=ImageCollection.title |
label=ImageCollection.title |
|
|
|
def rotate(self,angle,url,RESPONSE): |
|
"""rotate""" |
|
|
|
RESPONSE.redirect("javascript:document.domain='mpg.de';parent.iframe.right.rotation(%i)"%int(angle)) |
|
RESPONSE.redirect(url) |
def request(self): |
def request(self): |
"""request""" |
"""request""" |
return self.REQUEST |
return self.REQUEST |