set dim on portrait photo add style sheet ref