created a filter to fetch a single photo from factory