add the pictures database.