Adding PhotoComponent.