allow image prefix to be undefined