示例#1
0
 def retina_image_height(self):
     """ Same as above but the height is return for retina. """
     return get_image_size(self.image.path)[1] * 2
示例#2
0
 def image_height(self):
     """ Returns the height in pixels of the base image."""
     return get_image_size(self.image.path)[1]
示例#3
0
 def retina_image_height(self):
     """ Jak powyżej, ale zwracamy wysokość obrazka pod retinę. """
     return get_image_size(self.image.path)[1] * 2
示例#4
0
 def image_height(self):
     """ Zwraca wysokość w pikselach podstawowego obrazu. """
     return get_image_size(self.image.path)[1]
示例#5
0
 def retina_image_height(self):
     """ Same as above but the height is return for retina. """
     return get_image_size(self.image.path)[1] * 2
示例#6
0
 def image_height(self):
     """ Returns the height in pixels of the base image."""
     return get_image_size(self.image.path)[1]