set img size to speedup rendering