add db photos to view