Photos now get stored in database.