Load all photos when db is empty
refs #623