photo reductions and css changes