squaring up image dimensions