condition is_file instead file_exists
crop img + resize img + save img + del img

Signed-off-by: Aleksey Snisar <saiuz2000@gmail.com>