set image dimensions for faster rendering