made img field required. nullifies issue #43 for the time being