set image size to 320x320