adjusted the height of the get_photo function