version 1.1.2.5, 2008/09/03 21:16:40
|
version 1.1.2.6, 2008/09/04 17:54:33
|
Line 257 class MPIWGFeature(Folder):
|
Line 257 class MPIWGFeature(Folder):
|
img = getattr(self, 'img-frontpage.jpg') |
img = getattr(self, 'img-frontpage.jpg') |
return img.absolute_url() |
return img.absolute_url() |
|
|
def getThumbImg(self): |
def getFrontpageThumb(self): |
"""returns the image object for the frontpage thumbnail""" |
"""returns the image object for the frontpage thumbnail""" |
|
img = getattr(self, 'img-frontthumb.jpg') |
|
return img |
|
|
|
def getFrontpageThumbUrl(self): |
|
"""returns the URL of the image object for the frontpage thumbnail""" |
|
img = getattr(self, 'img-frontthumb.jpg') |
|
return img.absolute_url() |
|
|
|
def getThumbImg(self): |
|
"""returns the image object for the sidebar thumbnail""" |
img = getattr(self, 'img-thumb.jpg') |
img = getattr(self, 'img-thumb.jpg') |
return img |
return img |
|
|
def getThumbImgUrl(self): |
def getThumbImgUrl(self): |
"""returns the URL of the image object for the frontpage thumbnail""" |
"""returns the URL of the image object for the sidebar thumbnail""" |
img = getattr(self, 'img-thumb.jpg') |
img = getattr(self, 'img-thumb.jpg') |
return img.absolute_url() |
return img.absolute_url() |
|
|