Fixes to ajax controller.
Converted target image field input to text for now.