add saving image class