Example #1
0
 def image(self):
     if self.topic_img_id:
         return Image.get_img_by_id(self.topic_img_id).url
     else:
         return None
Example #2
0
 def head_img_url(self):
     return Image.get_img_by_id(self.head_img_id).url
Example #3
0
 def img_url(self):
     return Image.get_img_by_id(id=self.img_id).url
Example #4
0
	def head_img_url(self):
		return Image.get_img_by_id(self.head_img_id).url
Example #5
0
 def topic_img_url(self):
     return Image.get_img_by_id(self.topic_img_id).url
Example #6
0
	def topic_img_url(self):
		return Image.get_img_by_id(self.topic_img_id).url
	def img(self):
		return Image.get_img_by_id(id=self.img_id)
Example #8
0
 def img_url(self):
     img = Image.get_img_by_id(id=self.img_id)
     return img.url
Example #9
0
 def snap_img(self):
     return Image.get_img_by_id(self.snap_img_id).url
Example #10
0
 def main_img(self):
     return Image.get_img_by_id(self.main_img_id).url