Got image save and crop working