Changed the interface, change to the image component needed to accomodate the fact that we have no access to the filepath of the source xml
Changed image insertion logic