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

        return thumbnail_cropped(file_fs, self.preview, size)