Пример #1
0
 def halfwidth_url(self):
     return generate_image_url(self, 'width-400')
Пример #2
0
 def feed_image_url(self):
     if self.feed_image:
         return generate_image_url(self.feed_image, 'width-200')
Пример #3
0
 def fullwidth_url(self):
     return generate_image_url(self, 'width-800')
Пример #4
0
 def image_url(self):
     if self.image:
         return generate_image_url(self.image, 'width-300')