further improvements to the phtotos#index and portfolio view.