make photo when opening door