Add view model for photo view.