add image width max to reset