log dimensions of image after choosing from gallery