def METHOD_NAME(self):
    # in case width and height not set in xml return server values
    if None not in [self.width, self.height]:
        return [self.width, self.height]
    else:
        return [self.device.image_width, self.device.image_height]