Exemplo n.º 1
0
Arquivo: page.py Projeto: vden/TsoguNG
 def thumbnail_cropped(self, size):
     img = self.get_front_image()
     if img:
         from utils.snippets import thumbnail_cropped
         return thumbnail_cropped(photo_fs, img.image, size)
Exemplo n.º 2
0
	def thumbnail_cropped(self, size):
		from utils.snippets import thumbnail_cropped
		return thumbnail_cropped(photo_fs, self.image, size)
Exemplo n.º 3
0
Arquivo: page.py Projeto: vden/TsoguNG
	def thumbnail_cropped(self, size):
		img = self.get_front_image()
		if img:
			from utils.snippets import thumbnail_cropped
			return thumbnail_cropped(photo_fs, img.image, size)
Exemplo n.º 4
0
	def thumbnail_cropped(self, size):
		from utils.snippets import thumbnail_cropped
		return thumbnail_cropped(file_fs, self.preview, size)
Exemplo n.º 5
0
    def thumbnail_cropped(self, size):
        from utils.snippets import thumbnail_cropped

        return thumbnail_cropped(file_fs, self.preview, size)