adding attributes for captured image height and width