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