resize preview + width et height