Size cropping now sort of working

I need to find a way to get the input size reliably, though