Add missing support for cameraPhotoPath in init.js