How can I add extra data to a file field?
You can't by default, but check out the File Entity module.


  This module extends the core file entity, making it a full fledged
  entity, allowing for fields, display formatters, and more.


This allows you to add fields (such as a height/width field) to files in the same way that you add fields any other fieldable entity (nodes, terms etc...).