Added crop and resize to image mapper