background image dimension check