A main frame of a camera body has a CMOS image sensor and an eyepiece of
an optical finder, and the lens unit popped up from the camera body has a
taking lens and an objective lens of the optical finder. Light shielding
walls are formed on the main frame, and light shielding walls are formed
on the lens unit. When the lens unit is popped up, the light shielding
walls and the light shielding walls slightly overlap each other, thus
preventing a light from the optical finder from entering the CMOS image
sensor. Thus, the digital camera has a lens unit popped up from a camera
body and prevents unnecessary lights other than a subject light from
entering an image pickup device.