remove image dimensions