Exemple #1
0
 def update(self):
     self.image = get_lead_image(self.context, size='preview')
Exemple #2
0
 def update(self):
     self.title = self.context.Title()
     self.url = self.context.absolute_url()
     self.photo = get_lead_image(self.context, size='mini')