test image dimension frequently