implement adding image