Regularized some image dimensions