allow image rendering to be turned off