--- MPIWGWeb/Attic/MPIWGTemplate.py 2008/09/03 21:16:40 1.1.2.5 +++ MPIWGWeb/Attic/MPIWGTemplate.py 2008/09/04 17:54:33 1.1.2.6 @@ -257,13 +257,23 @@ class MPIWGFeature(Folder): img = getattr(self, 'img-frontpage.jpg') return img.absolute_url() - def getThumbImg(self): + def getFrontpageThumb(self): """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') return img 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') return img.absolute_url()