Esempio n. 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
Esempio n. 2
0
 def image_height(self):
     """ Returns the height in pixels of the base image."""
     return get_image_size(self.image.path)[1]
Esempio n. 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
Esempio n. 4
0
 def image_height(self):
     """ Zwraca wysokość w pikselach podstawowego obrazu. """
     return get_image_size(self.image.path)[1]
Esempio n. 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
Esempio n. 6
0
 def image_height(self):
     """ Returns the height in pixels of the base image."""
     return get_image_size(self.image.path)[1]