Got cropping working for both web and upload