Esempio n. 1
0
File: page.py Progetto: 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)
Esempio n. 2
0
	def thumbnail_cropped(self, size):
		from utils.snippets import thumbnail_cropped
		return thumbnail_cropped(photo_fs, self.image, size)
Esempio n. 3
0
File: page.py Progetto: 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)
Esempio n. 4
0
	def thumbnail_cropped(self, size):
		from utils.snippets import thumbnail_cropped
		return thumbnail_cropped(file_fs, self.preview, size)
Esempio n. 5
0
    def thumbnail_cropped(self, size):
        from utils.snippets import thumbnail_cropped

        return thumbnail_cropped(file_fs, self.preview, size)