adding image handlers