server-side image cropping; autocrop fix