Ignoring the photos database