Cleanup image size/orientiation