adding image lock