Add support for delegate to provide photo datasource