add image resize
modify image methods