adding image thumbnail and large view