version 1.64, 2006/07/13 18:24:19
|
version 1.65, 2006/07/13 20:42:46
|
Line 389 class zogiLib(Folder):
|
Line 389 class zogiLib(Folder):
|
return True |
return True |
|
|
|
|
def createScalerImg(self, requestString=None, bottom=0, side=0, width=500, height=500): |
def createScalerImg(self, requestString=None, bottom=0, side=0, width=500, height=500, options=None): |
"""generate Scaler IMG Tag""" |
"""generate Scaler IMG Tag""" |
self.checkQuery() |
self.checkQuery() |
bt = self.getBrowserType() |
bt = self.getBrowserType() |
Line 400 class zogiLib(Folder):
|
Line 400 class zogiLib(Folder):
|
if not requestString: |
if not requestString: |
requestString = self.getAllDLParams() |
requestString = self.getAllDLParams() |
url = self.getScalerUrl(requestString=requestString) |
url = self.getScalerUrl(requestString=requestString) |
|
# take insets from options if present |
|
if options is not None: |
|
side = options.get('side', side) |
|
bottom = options.get('bottom', bottom) |
# construct bottom and side insets |
# construct bottom and side insets |
b_par = "" |
b_par = "" |
s_par = "" |
s_par = "" |