Пример #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]