Pulled photo aspect ratio into a function