adding image structure