Successfully collecting image width and height