How to fix the size of crop

another thing you can try for the boolean value is 1 (for true)
also why are you using i as prefix? there is no such thing as i… Probably you prefer to use l for long?

Taifun