Photoionization and Opacity