LiveCycle Designer lets you create XML form templates with image fields. These image fields can be bound to an external data source or they can be scripted.
Here is a link to the Designer documentation:
http://livedocs.adobe.com/livecycle/8.2/wb_designer/wwhelp/wwhimpl/js/html/wwhelp.htm
Go to Using LiveCycle Designer ES > Working with Objects > Using objects > Using image fields > Overview of image fields
And here is a link to the Services Guide, which contains a chapter on the Forms service. This chapter provides an introduction on binding a field to an XML data value.
http://help.adobe.com/en_US/livecycle/8.2/services.pdf