fixing image resize on photo page