Do not save width and height values if an image size is selected