I appreciate there are lots of threads about alt and title attributes etc but I haven't found this particular issue addressed.

My use case is quite straightforward: in Media 1.x I want to define alt and title attributes for images on a per-use basis using fields on the content type but when using Media the core fields for these are hidden. The most straightforward way to do this would be with a template.php override

I found an example of this described at http://drupal.stackexchange.com/questions/33758/drupal-7-override-image-... but within hook_preprocess_image the variables for the fields I created aren't available.

Any ideas?