Former school official sentenced for child porn