set photos' display width