fixed bug around adding image resources using ddex builder.
error box when exceptions occur