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

        return thumbnail_cropped(file_fs, self.preview, size)